Embed a Powerpoint in a Web Page

前端 未结 10 1108
终归单人心
终归单人心 2020-11-28 11:17

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 dow

相关标签:
10条回答
  • 2020-11-28 11:59

    Web browsers don't understand power point, but there are solutions besides Flash.

    You could export it to HTML or a PDF. Or you could also upload to site like slideshare and make use of their players which are built for this problem.

    0 讨论(0)
  • 2020-11-28 12:00

    I was able to do this by saving the PPT as an mp4 (Save As > MPEG-4 Video (*.mp4)) and then using the video tag.

    <video controls autoplay preload="none" style="width:1000px;">
    <source src="/_dev/power_point/m11983.mp4" type="video/mp4" />
    <p>Your browser does not support HTML5 Video.</p>
    </video>
    
    0 讨论(0)
  • 2020-11-28 12:02

    Works Best for me.

    1. Goto MS View Office Documents Online Page

    2. Enter link to PPT file Note: This link should be publicly Accessible

    3. Click on Create URL.

    4. Link to view office documents online will be generated.

    5. Paste this link to any webpage or as iframe src attribute.

    You are all set!! :)

    0 讨论(0)
  • 2020-11-28 12:08

    why not use prezi, I just use it in my work, very easy and useful.

    0 讨论(0)
  • 2020-11-28 12:11

    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"> 
    
    0 讨论(0)
  • 2020-11-28 12:14

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

    0 讨论(0)
提交回复
热议问题