<p>Is it possible to embed a PowerPoint presentation (.ppt) into a webpage (.xhtml)?</p>

<p>This will be used on a local intranet where there is a mix of Internet&nbsp;Explorer&nbsp;6 and Internet&nbsp;Explorer&nbsp;7 only, so no need to consider other browsers.</p>

<hr>

<p>I've given up... I guess Flash is the way forward.</p>

[{'answer_id': 39857, 'author': 'matt b', 'author_id': 4249, 'author_profile': 'https://Stackoverflow.com/users/4249', 'pm_score': 0, 'selected': False, 'text': '<p>The first few results on Google all sound like good options:</p>\n\n<p><a href="http://www.pptfaq.com/FAQ00708.htm" rel="nofollow noreferrer">http://www.pptfaq.com/FAQ00708.htm</a></p>\n\n<p><a href="http://www.webdeveloper.com/forum/showthread.php?t=86212" rel="nofollow noreferrer">http://www.webdeveloper.com/forum/showthread.php?t=86212</a></p>\n'}, {'answer_id': 39888, 'author': 'Herms', 'author_id': 1409, 'author_profile': 'https://Stackoverflow.com/users/1409', 'pm_score': 2, 'selected': False, 'text': '<p>I don\'t know of a way to embed PowerPoint slides directly into HTML. However, there are a number of solutions online for converting a PPT file into a <a href="http://en.wikipedia.org/wiki/SWF" rel="nofollow noreferrer">SWF</a>, which can be embedded into HTML just like any other Flash movie.</p>\n\n<p><a href="http://www.google.com/search?source=ig&amp;hl=en&amp;rlz=&amp;=&amp;q=ppt+to+swf&amp;btnG=Google+Search" rel="nofollow noreferrer">Googling for \'ppt to swf\'</a> seems to give a lot of hits. Some are free, others aren\'t.  Some handle things like animations, others just do still images. There\'s got to be one out there that does what you need. :)</p>\n'}, {'answer_id': 40203, 'author': 'FlySwat', 'author_id': 1965, 'author_profile': 'https://Stackoverflow.com/users/1965', 'pm_score': 0, 'selected': False, 'text': '<p>Try <em><a href="http://www.freedownloadscenter.com/Programming/Delphi_Tools_and_Components/PowerPoint_ActiveX.html" rel="nofollow noreferrer">PowerPoint ActiveX 2.4</a></em>. This is an ActiveX component that embeds PowerPoint into an OCX.</p>\n\n<p>Since you are using just Internet&nbsp;Explorer&nbsp;6 and Internet&nbsp;Explorer&nbsp;7 you can embed this component into the HTML.</p>\n'}, {'answer_id': 41395, 'author': 'yoavf', 'author_id': 1011, 'author_profile': 'https://Stackoverflow.com/users/1011', 'pm_score': 0, 'selected': False, 'text': '<p>As a side note: If your intranet users also have access to the Internet, you can use the <a href="http://en.wikipedia.org/wiki/SlideShare" rel="nofollow noreferrer">SlideShare</a> widget to embed your PowerPoint presentations in your website.</p>\n\n<p>(Remember to mark your presentation as private!)</p>\n'}, {'answer_id': 544615, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>Some Flash tool that can convert the PowerPoint file to Flash could be helpful. Slide share is also helpful. For me, I will take something like PPT2Flash Pro or things like that.</p>\n'}, {'answer_id': 686546, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>Well, I think you get to convert the powerpoint to flash first. PowerPoint is not a sharable format on Internet. Some tool like <a href="http://www.sameshow.com/powerpoint-to-flash.html#107" rel="nofollow noreferrer">PowerPoint to Flash</a> could be helpful for you.</p>\n'}, {'answer_id': 1199883, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': "<p>The 'actual answer' is that you cannot do it directly. You have to convert your PowerPoint presentation to something that the browser can process. You can save each page of the PowerPoint presentation as a JPEG image and then display as a series of images. You can save the PowerPoint presentation as HTML. Both of these solutions will render only static pages, without any of the animations of PowerPoint. You can use a tool to convert your PowerPoint presentation to Flash (.swf) and embed it that way. This will preserve any animations and presumably allow you to do an automatic slideshow without the need for writing special code to change the images.</p>\n"}, {'answer_id': 1694659, 'author': 'Steg', 'author_id': 121872, 'author_profile': 'https://Stackoverflow.com/users/121872', 'pm_score': 0, 'selected': False, 'text': '<p>I spent a while looking into this and pretty much all of the freeware and shareware on the web sucked. This included software to directly convert the .ppt file to Flash or some sort of video format and also software to record your desktop screen. Software was clunky, and the quality was poor.</p>\n\n<p>The solution we eventually came up with is a little bit manual, but it gave by far the best quality results:</p>\n\n<ol>\n<li>Export the .ppt file into some sort of image format (.bmp, .jpeg, .png, .tif) - it writes out one file per slide</li>\n<li>Import all the slide image files into <a href="http://en.wikipedia.org/wiki/Picasa" rel="nofollow noreferrer">Google Picasa</a> and use them to create a video. You can add in some nice simple transitions (it hasn\'t got some of the horrific .ppt one\'s, but who cares) and it dumps out a <a href="http://en.wikipedia.org/wiki/Windows_Media_Video" rel="nofollow noreferrer">WMV</a> file of your specified resolution.</li>\n</ol>\n\n<p>Saving out as .wmv isn\'t perfect, but I\'m sure it\'s probably quite straightforward to convert that to some other format or Flash. We were looking to get them up on YouTube and this did the trick.</p>\n'}, {'answer_id': 1694704, 'author': 'Steve Pasetti', 'author_id': 205818, 'author_profile': 'https://Stackoverflow.com/users/205818', 'pm_score': 8, 'selected': True, 'text': '<p>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:</p>\n\n<pre><code>&lt;iframe src="//docs.google.com/gview?url=https://www.yourwebsite.com/powerpoint.ppt&amp;embedded=true" style="width:600px; height:500px;" frameborder="0"&gt;&lt;/iframe&gt;\n</code></pre>\n'}, {'answer_id': 3875506, 'author': 'Ryan Nadeau', 'author_id': 468295, 'author_profile': 'https://Stackoverflow.com/users/468295', 'pm_score': 2, 'selected': False, 'text': '<p>You can use Microsoft <a href="http://en.wikipedia.org/wiki/Office_Web_Apps" rel="nofollow">Office Web Apps</a> to embed PowerPoint and Excel Files. See <em><a href="http://blogs.office.com/b/office_blog/archive/2010/09/24/say-more-in-your-blog-with-embedded-powerpoint-and-excel-files.aspx" rel="nofollow">Say more in your blog with embedded PowerPoint and Excel files</a></em>.</p>\n'}, {'answer_id': 3875673, 'author': 'Insomn3ak', 'author_id': 428957, 'author_profile': 'https://Stackoverflow.com/users/428957', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://www.docstoc.com" rel="noreferrer">DocStoc.com</a> and <a href="http://www.scribd.com/" rel="noreferrer">Scribd.com</a> both work well with Internet&nbsp;Explorer&nbsp;6 and Internet&nbsp;Explorer&nbsp;7. They\'ll show a variety of document types, including PowerPoint files (.ppt). I use these services for my intranet here at work. Of course, just remember to mark your documents as \'private\' after you upload them.</p>\n'}, {'answer_id': 4937004, 'author': 'Richard Wilson', 'author_id': 608630, 'author_profile': 'https://Stackoverflow.com/users/608630', 'pm_score': 2, 'selected': False, 'text': "<p>Google Docs allows you to upload a PowerPoint document, you can then 'Share' it with everyone then you can 'Publish' it and this will provide code to embed it in your site or you can use a direct link which runs at the full size of the browser window. The conversion is pretty good and scales well because the text is retained rather than converted to an image. The conversion is pretty good and the whole thing is free. Definitely worth a go.</p>\n"}, {'answer_id': 7549880, 'author': 'Michael Crocker', 'author_id': 964241, 'author_profile': 'https://Stackoverflow.com/users/964241', 'pm_score': 0, 'selected': False, 'text': '<p>An easy (and free) way is to download <a href="http://en.wikipedia.org/wiki/OpenOffice.org" rel="nofollow">OpenOffice</a> and use <a href="http://en.wikipedia.org/wiki/OpenOffice.org_Impress" rel="nofollow">Impress</a> to open the PowerPoint presentation. Then export into a separate folder as HTML. Your presentation will consist of separate HTML files and images for each PowerPoint slide. Link to the title page, and you\'re done.</p>\n'}, {'answer_id': 11308896, 'author': 'Dean', 'author_id': 1498460, 'author_profile': 'https://Stackoverflow.com/users/1498460', 'pm_score': 4, 'selected': False, 'text': '<p>I got so sick of trying all of the different options to web host a power point that were flaky or required flash so I rolled my own.</p>\n\n<p>My solution uses a very simple javascript function to simply scroll / replace a image tag with GIFs that I saved from the Power Point presentation itself. </p>\n\n<ol>\n<li><p>In the power point presentation click Save As and select GIF. Pick the quality you want to display the presentation at. Power Point will save one GIF image for each slide and name them Slide1.GIF, Slide2.GIF, etc.....</p></li>\n<li><p>Create a HTML page and add a image tag to display the Power point GIF images.</p>\n\n<pre><code>&lt;img src="Slide1.GIF" id="mainImage" name="mainImage" width="100%" height="100%" alt=""&gt;\n</code></pre></li>\n<li><p>Add some first, previous, next and last clickable objects with the onClick action as below:</p>\n\n<pre><code>&lt;a href="#" onclick="swapImage(0);"&gt;&lt;img src="/images/first.png" border=0 alt="First"&gt;&lt;/a&gt;\n&lt;a href="#" onclick="swapImage(currentIndex-1);"&gt;&lt;img src="/images/left.png" border=0 alt="Back"&gt;&lt;/a&gt;\n&lt;a href="#" onclick="swapImage(currentIndex+1);"&gt;&lt;img src="/images/right.png" border=0 alt="Next"&gt;&lt;/a&gt;\n&lt;a href="#" onclick="swapImage(maxIndex);"&gt;&lt;img src="/images/last.png" border=0 alt="Last"&gt;&lt;/a&gt;\n</code></pre></li>\n<li><p>Finally, add the below javascript function that when called grabs the next Slide.GIF image and displays it to the img tag.</p>\n\n<pre><code>&lt;script type="text/javascript"&gt;\n    //Initilize start value to 1 \'For Slide1.GIF\'\n    var currentIndex = 1;\n\n    //NOTE: Set this value to the number of slides you have in the presentation.\n    var maxIndex=12;\n\n    function swapImage(imageIndex){\n        //Check if we are at the last image already, return if we are.\n        if(imageIndex&gt;maxIndex){\n            currentIndex=maxIndex;\n            return;\n        }\n\n        //Check if we are at the first image already, return if we are.\n        if(imageIndex&lt;1){\n            currentIndex=1;\n            return;\n        }\n\n        currentIndex=imageIndex;\n        //Otherwise update mainImage\n        document.getElementById("mainImage").src=\'Slide\' +  currentIndex  + \'.GIF\';\n        return;\n    }\n&lt;/script&gt;\n</code></pre></li>\n</ol>\n\n<p>Make sure the GIFs are reachable from the HTMl page. They are by default expected to be in the same directory but you should be able to see the logic and how to set to a image directory if required</p>\n\n<p>I have training material up for my company that uses this technique at <a href="http://www.vanguarddata.com.au" rel="noreferrer">http://www.vanguarddata.com.au</a> so before you spend any time trying it out you are welcome to look at in action. </p>\n\n<p>I hope this helps someone else out there who is having as much headaches with this as I did.....</p>\n'}, {'answer_id': 12349200, 'author': 'Ally R Reeves', 'author_id': 1659767, 'author_profile': 'https://Stackoverflow.com/users/1659767', 'pm_score': 2, 'selected': False, 'text': '<p>Tried all of the options in this stack and couldn\'t reach something that loaded swiftly, used PPT. file directly, and scaled easily. Saved out my ppt. as .gif and opted for "Infinite Carousel" (javascript) that I can drop images into easily. Has left right controls, play option, all the same stuff you find in ppt. presenter mode...</p>\n\n<p><a href="http://www.catchmyfame.com/2009/12/30/huge-updates-to-jquery-infinite-carousel-version-2-released/" rel="nofollow">http://www.catchmyfame.com/2009/12/30/huge-updates-to-jquery-infinite-carousel-version-2-released/</a></p>\n'}, {'answer_id': 13501173, 'author': 'Deep', 'author_id': 1707126, 'author_profile': 'https://Stackoverflow.com/users/1707126', 'pm_score': 2, 'selected': False, 'text': '<p>I ended up going for screenshooting each slide, and using two different tabs to navigate, this was put into an . this gives high-res, but you sacrifice animations and interactivity, the only thing the user can do is read and change slide. heres an example off my website: <a href="http://deepschool.jaberwokkee.kodingen.com/~/Miss%20Necchi%27s%20powerpoints/Volume%20of%20prisms%20powerpoint/slide1.htm" rel="nofollow">http://deepschool.jaberwokkee.kodingen.com/~/Miss%20Necchi%27s%20powerpoints/Volume%20of%20prisms%20powerpoint/slide1.htm</a></p>\n'}, {'answer_id': 15427615, 'author': 'navins', 'author_id': 1315755, 'author_profile': 'https://Stackoverflow.com/users/1315755', 'pm_score': 2, 'selected': False, 'text': '<p>besides, if you save ppt as <code>.pps</code> format using microsoft powerpoint, you can use the following code:</p>\n\n<pre><code>&lt;iframe src="file.pps" width="800px" heigt="600px"&gt;&lt;/iframe&gt;\n</code></pre>\n\n<hr>\n\n<p>Another common way to do it is to convert ppt/doc to pdf, </p>\n\n<p>then use swftool(<a href="http://www.swftools.org" rel="nofollow">http://www.swftools.org</a>) to convert it to swf</p>\n\n<p>finally, take FlexPaper(<a href="http://flexpaper.devaldi.com" rel="nofollow">http://flexpaper.devaldi.com</a>) as document viewer.</p>\n'}, {'answer_id': 17611564, 'author': 'Mekey Salaria', 'author_id': 1794977, 'author_profile': 'https://Stackoverflow.com/users/1794977', 'pm_score': 0, 'selected': False, 'text': '<p>I was looking for a solution for similar problem. </p>\n\n<p>I looked into <a href="http://phppowerpoint.codeplex.com/" rel="nofollow">http://phppowerpoint.codeplex.com/</a></p>\n\n<p>But they have no better documentation, and even no demo page I could see over there and it was seemingly difficult. </p>\n\n<p>What I came up with is: SkyDrive by Microsoft. <a href="https://skydrive.live.com" rel="nofollow">https://skydrive.live.com</a></p>\n\n<p>All you need is an account with them and upload your PPT and embed them straightaway. PPT player is quite clean to use and I like it. </p>\n'}, {'answer_id': 36278080, 'author': 'Dave', 'author_id': 6111584, 'author_profile': 'https://Stackoverflow.com/users/6111584', 'pm_score': 0, 'selected': False, 'text': '<p>I\'ve noticed people recommending some PPT-to-Flash solutions, but Flash doesn\'t work on mobile devices. There\'s a hosting service called <a href="https://www.ispringsolutions.com/ispring-cloud" rel="nofollow">iSpring Cloud</a> that automatically converts your PPT to combined Flash+HTML5 format and lets you generate an embed code for your website or blog. Full instructions can be found on their <a href="http://www.ispringsolutions.com/articles/how-to-insert-your-html5-presentation-into-a-website-or-blog.html" rel="nofollow">website</a>.</p>\n'}, {'answer_id': 38346071, 'author': 'nniicc', 'author_id': 3292976, 'author_profile': 'https://Stackoverflow.com/users/3292976', 'pm_score': 4, 'selected': False, 'text': '<p>Id recommend the official View Office documents online</p>\n\n<p><a href="https://products.office.com/en-GB/office-online/view-office-documents-online?legRedir=true&amp;CorrelationId=b28c7173-79a2-4fb7-a1eb-9e75651fd1a1" rel="noreferrer">link</a></p>\n\n<p>for embeding you can simply use </p>\n\n<pre><code>&lt;iframe src=\'https://view.officeapps.live.com/op/embed.aspx?src={urlencode(site-to-ppt)}\' width=\'962px\' height=\'565px\' frameborder=\'0\'&gt;&lt;/iframe&gt;\n</code></pre>\n'}, {'answer_id': 48190992, 'author': 'Aba', 'author_id': 1902468, 'author_profile': 'https://Stackoverflow.com/users/1902468', 'pm_score': 1, 'selected': False, 'text': '<p>Power point supports converting to mp4 which can be posted using a html5 video tag. </p>\n\n<p>Save As > MPEG-4 Video (*.mp4)</p>\n\n<pre><code>&lt;video controls autoplay reload="none" style="width:1000px;"&gt;\n&lt;source src="my_power_point.mp4" type="video/mp4" /&gt;\n&lt;/video&gt;\n</code></pre>\n'}, {'answer_id': 48988944, 'author': 'kjyv', 'author_id': 974478, 'author_profile': 'https://Stackoverflow.com/users/974478', 'pm_score': 0, 'selected': False, 'text': "<p>Another option is to use Apple Keynote on a Mac (Libre Office couldn't event open a pptx I had) to save the presentation to HTML5. It does a pretty good job to produce exactly what it displays in keynote, e.g. it includes animations and video. Compatibility of keynote to powerpoint has it's limits though (independent of the export).</p>\n"}, {'answer_id': 70084375, 'author': 'Vlad Bilyk', 'author_id': 2516831, 'author_profile': 'https://Stackoverflow.com/users/2516831', 'pm_score': 1, 'selected': False, 'text': '<p>As an alternate solution, you can convert PPT/PPTX to JPG/SVG images and display them with <a href="https://revealjs.com/" rel="nofollow noreferrer">revealjs</a>. See example code <a href="https://github.com/aspose-slides/Aspose.Slides-for-.NET/blob/master/Demos/Aspose.Slides.Web/Views/Slides/Slideshow.cshtml" rel="nofollow noreferrer">here</a>.</p>\n<p>PS. I am working as SW developer at Aspose.</p>\n'}]
['https://Stackoverflow.com/questions/39855', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/383/']