PowerPoint in the media library?
User Michael Rymer asks:
Is there a way to add PowerPoint presentations to the media library for my site - https://writingcenter.commons.gc.cuny.edu?
#1 Updated by Raymond Hoh almost 4 years ago
- Category name set to WordPress Plugins
- Assignee set to Raymond Hoh
- Target version set to 1.12.12
We do not currently have any means of embedding PowerPoint presentations from the Media Library.
If Michael needs a way to embed PowerPoint presentations now, it is possible to embed PowerPoint presentations hosted on Google Drive with the Google Docs Shortcode plugin:
If we want to allow PowerPoint presentations from the Media Library to be embedded, we would need to add another plugin to the Commons.
I would recommend the Embed Any Document plugin for inclusion:
If everything looks good, this plugin will be available on April 10th.
#4 Updated by Raymond Hoh almost 4 years ago
Linking to a Media Library item like a PowerPoint file should be easily doable.
#5 Updated by Marilyn Weber almost 4 years ago
He replies: "I run into the same problem when I try adding a ppt. to the media library following the directions in the tutorial –Here’s the message that comes up: Literature Review Workshop - revised.pptxSorry, this file type is not permitted for security reasons."
#6 Updated by Raymond Hoh almost 4 years ago
- Status changed from New to Resolved
Forgot that multisite is a little bit more restrictive for file uploads!
I've just enabled PowerPoint files with the `.ppt` and `.pptx` extensions to be uploaded, so Michael should be able to upload and link to PowerPoint files within the Media Library. This is available to use right now.
As for the Embed Any Document plugin, I've just added it to the codebase. This will be available in our next maintenance release, scheduled for April 10th. (Internal reference - https://github.com/cuny-academic-commons/cac/commit/63a54727cff7dd50aa07365666d1e104e3028eec)