Project

General

Profile

Actions

Bug #20301

open

Embedding Content

Added by Laurie Hurson 7 months ago. Updated 7 months ago.

Status:
New
Priority name:
Normal
Assignee:
-
Category name:
-
Target version:
-
Start date:
2024-05-03
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hi All,

Apologies in advance if these are dumb questions but I am having a lot of trouble with embedded content on this site / page:

https://radicalharmony.commons.gc.cuny.edu/research/diversity-through-hair/

My questions:

1) The Google Docs Shortcode plugin does not seem to working correctly. We used the Drive block and the "share" link from a set of google slides, and either we get an error message (in multiple browsers, and also when site is public and private). Or if it does display the slides, the embedded content is the whole google slides page with all the editing features etc. Ideally we are trying to have the slides embedded the same way they are here: https://psych101f23.commons.gc.cuny.edu/week-14-slides/

2) Does embedpress only work when the site is public? On the page below we cannot see the embedded content when the site is private, but can see when the site is public. Moreover, when we try to update the page, all the blocks are throwing errors in the block editor and when we attempt to recover the block they disappear so we cannot make any changes to the page with redo-ing all the embedded content.

https://radicalharmony.commons.gc.cuny.edu/research/women-of-color-program/

Sorry if these are simple fixes but I am stumped.

Thank you!


Files

Actions #1

Updated by Raymond Hoh 7 months ago

I can't answer for EmbedPress, but for Google Docs Shortcode, the Share link needs to be "Anyone with the link" and must use the correct copy link. Under "File > Share > Share With Others", use the attached settings from the screenshot. If this isn't working as expected, let me know.

Actions #2

Updated by Laurie Hurson 7 months ago

Thanks for your response Ray. I have used the google docs shortcode plugin a lot, and I think I am using the right link, see video. Please let me know.

Whenever I have used this plugin in the past, the slides display similar to the Psych 101 site slides. That is what I am trying to recreate on the Diversity in Hair page.

Thanks

Actions #3

Updated by Raymond Hoh 7 months ago

Thanks for the video, Laurie.

Your Share window in your screencast has slightly different wording -- "Send a link for..." instead of "Share..." as in my attached screenshot. I'm guessing your shared link is different since you are not the original author of the Slides presentation. If that is the case, can you ask the original author of the presentation to do the share and provide you with the copied link?

Or can you try going under "File > Share > Share With Others" and see what the title of the Share window is?

Actions #4

Updated by Laurie Hurson 7 months ago

Hi Ray,

Thanks for your feedback. I think the user got the google slides working but we are continuing to have issues embedding other content, particularly Powerpoints, on the site.

We are trying to embed two powerpoints (WOC Sankofa and WOC SP21 in media library) on this page https://radicalharmony.commons.gc.cuny.edu/research/women-of-color-program/

When we embed a ppt using document block or embedpress, it is only visible if the site is public. Is this expected behavior? I think powerpoints should be able to be embedded on private sites too? The powerpoints are uploaded to the media library so I am not sure why they are being blocked from view when the site is private. Moreoever, if I make the site public and re-embed the ppts, I can see them. But if I change the site to private again, they are not visible, see screenshot. And if I switch the site back to public, this does not resolve the issue.

We want to be able to see embedded powerpoints on the site, no matter the privacy settings, and have the ability to switch between public and private without the embeds showing an error. I am adding Scott as a watcher since I think he may know more about embedpress. This seems like a simple issue that I cannot seem to solve so thank you you in advance for your help!

Actions #5

Updated by Raymond Hoh 7 months ago

When we embed a ppt using document block or embedpress, it is only visible if the site is public. Is this expected behavior?

Yes, that's expected behavior due to how the viewer requires that the powerpoint file be publicly-accessible for the embed viewer to work. If you want powerpoints to work without worrying about the site's visiblity setting, upload the .ppt to Google Drive and embed it with Google Docs Shortcode or EmbedPress.

But if I change the site to private again, they are not visible, see screenshot. And if I switch the site back to public, this does not resolve the issue.

Switching the site back to public should resolve the issue because the access control file should be removed, according to https://github.com/cuny-academic-commons/cac/blob/065e5dcfe847cad356fb31945b20b6d9c5ecc4e2/wp-content/mu-plugins/cac-file-protection.php#L83-L89, which would make the .ppt file available for the viewer again. If this isn't working, then we'll need to look into this further.

Actions

Also available in: Atom PDF