renewed problem with ppsx files
Related to https://redmine.gc.cuny.edu/issues/13238
We have a report on ZendDesk from Defne Sener that ppsx files again are vlocked - "Sorry, this file type is not permitted for security reasons.". I attach the ppsx file, which I'm also not able to upload to a test site I have.
#3 Updated by Raymond Hoh 5 months ago
The easiest workaround in this case is to rename the file extension for the user's file to
Would that work for the user?
If we want to support the
ppsx extension with the
application/vnd.openxmlformats-officedocument.presentationml.presentation mimetype, then there is a workaround we can use in https://wordpress.stackexchange.com/a/323757.
Another option is to install the Lord of the Files plugin, which properly detects file types and doesn't rely on the file extension as the main point of reference.
#5 Updated by Marilyn Weber 5 months ago
I decided to try it out myself. It seems that will let you link to the PPTX but not embed it. Here's m attempt - https://marilyncourse2.commons.gc.cuny.edu/pptx/
Also, I didn't know what PPTX was. It took me a couple tries to see that it's "Strict open XML presentation". Is that right?
Lastly - Defne notes that her professor was able to do it on the class site - https://ccnyengineers.commons.gc.cuny.edu/introductory-presentation/
#6 Updated by Raymond Hoh 5 months ago
Uploading is different than embedding. We wanted to solve the upload issue and it looks like renaming the
ppsx file extension to
pptx allowed the upload to go through.
Regarding embedding, the professor is using the Embed Any Document plugin to embed the
#7 Updated by Marilyn Weber 5 months ago
I tried with Embed Any Doc and it didn't work.
I cc'd the professor on the ticket and here's the reply:
"From the Introductory Presentation's 'Edit Page' (in classic editor mode), I clicked "add document" (not add media). I then uploaded the .pptx file (not the .ppsx file). I was then given an "Advanced Options" popup and I left it as is and clicked "insert." I then updated the page... and it worked!
Also, I only have 2 plugins active: PDF embedder and Embed Any Document"
I don't know what he means by "add document" (not add media) Can you clarify?
#8 Updated by Raymond Hoh 5 months ago
- Category name set to WordPress - Media
- Status changed from New to Resolved
- Target version set to Not tracked
"Add Document" is a button from the "Embed Any Document" plugin when the Classic Editor is in use:
If you're using the Block Editor, you can use Embed Any Document's "Document" block:
Going to close this one out.
#12 Updated by Raymond Hoh 5 months ago
No Add Document option when I'm logged in as superadmin.
The "Embed Any Document" plugin wasn't activated on the
superm site. I just activated it there and then proceeded to "Posts > Add New" and switched the editor to Classic Editor. I'm able to see the "Add Document" button as a super admin on the
Are you able to see it now?