Embed a Powerpoint in a Web Page

Embed a Powerpoint in a Web Page

I have decided to take a hack route and upload the powerpoint onto YouTube and then just include the youtube video in the iframe.

<iframe height="375" width="600" src="http://www.youtube.com/embed/assignedId"></iframe>

I know, it's cheap, but it's also easy.

EDIT

I eventually checked my page as XHTML Strict, which does not support the <iframe> tag. So I used the object tag instead.

<object data="http://www.youtube.com/embed/assignedId"> 

Embed a PowerPoint presentation into HTML

Google Docs can serve up PowerPoint (and PDF) documents in it's document viewer. You don't have to sign up for Google Docs, just upload it to your website, and call it from your page:

<iframe src="//docs.google.com/gview?url=https://www.yourwebsite.com/powerpoint.ppt&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

Embed Powerpoint viewer on a web page (PHP)

You could automate the process of using google docs with php.

Google provides a ppt viewer that can be embed into webpages using the following code

<iframe src="http://docs.google.com/gview?url=http://www.domainname.come/presentation.ppt&embedded=true" style="width:550px; height:450px;" frameborder="0"></iframe>

Now im assuming php handles the uploads your users make, thus it would be easy to find the url to the specific ppt file. You could store this url either in a variable or a database, fetch it when needed and place it in the code above.

I hope I have been able to explain the logic im trying to apply, do let me know if you need more specifications.

how to embed PowerPoint presentation with audio on a webpage?

currently PowerPoint web embed do not support audio auto play.
use a SCORM authorizing tool to convert ppt files in to a HTML package.
SCORM Software Tools



Related Topics



Leave a reply



Submit