Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embed a Powerpoint in a Web Page

Is there any way to embed a PowerPoint slide show in an HTML page using just the standard tags etc? I tried using a iframe, but that just results in the PowerPoint being downloaded.

<iframe src="Chapter1.pptx">Your browser does not support.</iframe>

I am looking for a way to show the slide show using only standard stuff. I realize I could use google docs or flash or something, but I'd rather have a simple implementation.

Does the web just not know how to process a PowerPoint presentation?

like image 541
Snowy Coder Girl Avatar asked Aug 18 '11 00:08

Snowy Coder Girl


People also ask

How do I embed a PowerPoint file online?

Insert a PDF file as an object In PowerPoint, select the slide that you want to add the file to, and then select Insert > Object. In the Insert Object box, select Create from file, and then enter the PDF file location; or, click Browse, find the PDF file, and then select OK.


2 Answers

Plain and simple...this is the best method to embed any Microsoft or Adobe file into a HTML website.

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[https://www.your_website/file_name.pptx]' width='100%' height='600px' frameborder='0'>

like image 86
Shane Avatar answered Sep 30 '22 18:09

Shane


Just to update this question - as there is a new way to embed Powerpoints in a web page. If you have an account on OneDrive, do the following using Powerpoint Online (accessing Powerpoint via the browser) to embed a Powerpoint:

  1. Click 'File', then 'Share', then 'Embed' Share Powerpoint
  2. Click the 'Generate' button to generate HTML code to be embedded Generate HTML
  3. Copy the 'Embed Code' and paste it in the HTML of a website Copy Embed Code
like image 34
bnp887 Avatar answered Sep 30 '22 20:09

bnp887