Reputation: 9001
I am trying to embed user-uploaded Powerpoint files (.ppt
or .pptx
).
On a company intranet, users can upload presentations and on a separate page other users can view them. As the volume will be high, I cannot use a method that requires manual configuration of each presentation (such as OneDrive embed, SlideShare etc).
The solutions I have found (a few are listed below) only accommodate web-accessible files; this does not work for me, as the files are not accessible outside of a company intranet.
iframe
using docs.google.com/gview
; does not work)iframe
using view.officeapps.live
; does not work)Is there a solution or library that allows for embedding PowerPoint presentations that are uploaded to a local server directory?
Upvotes: 1
Views: 3217
Reputation: 327
As an alternate solution, you can convert PPT/PPTX to JPG/SVG images and display them with revealjs. See the source code here and working demo app here.
PS. I am working as SW developer at Aspose.
Upvotes: 1