Embed a Powerpoint in a Web Page

前端 未结 10 1109
终归单人心
终归单人心 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 12:15

    Upload a PowerPoint document on your Google Drive and then 'Share' it with everyone (make it public): Sharing your pptx doc

    Then, go to File > Publish to the web > hit the publish button.

    Go to Embed and copy the embed code and paste it to your web page

    Copy embed code

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

    I tried answer posted by Shane, which looks exactly right and how MS used to have PPT viewing online earlier but it didn't worked for me. After doing some research I found out that the link has changed a bit.

    So use: https://view.officeapps.live.com/op/view.aspx instead of https://view.officeapps.live.com/op/embed.aspx

    Example:

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

    Note: Link to PPT need to be publicly accessible.

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

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

    Use Microsoft skydrive, upload your power point to this site and use this code

    where

    http://skydrive.live.com/redir.aspx?cid=20f065afc1acdb2e&page=view&resid=20F065AFC1ACDB2E!723&parid=20F065AFC1ACDB2E!719 is the URL of the powerpoint file.

    You have to replace SD20F065AFC1ACDB2E!723 for your own string of the corresponding URL

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