Embed a Powerpoint in a Web Page

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″>

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=”https://docs.google.com/gview?url=https://www.yourwebsite.com/powerpoint.ppt&embedded=true” style=”width:600px; height:500px;” frameborder=”0″></iframe>

What is a correct MIME type for .docx, .pptx, etc.?

Here are the correct Microsoft Office MIME types for HTTP content streaming: Extension MIME Type .doc application/msword .dot application/msword .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template .docm application/vnd.ms-word.document.macroEnabled.12 .dotm application/vnd.ms-word.template.macroEnabled.12 .xls application/vnd.ms-excel .xlt application/vnd.ms-excel .xla application/vnd.ms-excel .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template .xlsm application/vnd.ms-excel.sheet.macroEnabled.12 .xltm application/vnd.ms-excel.template.macroEnabled.12 .xlam application/vnd.ms-excel.addin.macroEnabled.12 .xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12 .ppt application/vnd.ms-powerpoint .pot application/vnd.ms-powerpoint .pps application/vnd.ms-powerpoint .ppa application/vnd.ms-powerpoint .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation … Read more

tech