有没有办法只使用标准标签等在PowerPoint页面中嵌入PowerPoint幻灯片?我尝试使用iframe,但这只会导致PowerPoint被下载。
<iframe src="Chapter1.pptx">Your browser does not support.</iframe>
我正在寻找一种方法,只使用标准的东西来显示幻灯片。我意识到我可以使用谷歌文档或Flash或其他东西,但我宁愿有一个简单的实现。
网络是否不知道如何处理PowerPoint演示文稿?
简单明了......这是将任何Microsoft或Adobe文件嵌入HTML网站的最佳方法。
<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[https://www.your_website/file_name.pptx]' width='100%' height='600px' frameborder='0'>
只是为了更新这个问题 - 因为有一种在网页中嵌入Powerpoint的新方法。如果您在OneDrive上有帐户,请使用Powerpoint Online(通过浏览器访问Powerpoint)执行以下操作以嵌入Powerpoint:
Web浏览器不了解功能点,但除了Flash之外还有其他解决方案。
您可以将其导出为HTML或PDF。或者您也可以像slideshare一样上传到网站,并利用为此问题而构建的玩家。
我决定采用黑客路线并将powerpoint上传到YouTube,然后将iftube视频包含在iframe中。
<iframe height="375" width="600" src="http://www.youtube.com/embed/assignedId"></iframe>
我知道,它很便宜,但也很容易。
我最终将我的页面检查为XHTML Strict,它不支持<iframe>
标记。所以我使用了object
标签。
<object data="http://www.youtube.com/embed/assignedId">
使用Microsoft skydrive,将您的电源点上传到此站点并使用此代码
哪里
http://skydrive.live.com/redir.aspx?cid=20f065afc1acdb2e&page=view&resid=20F065AFC1ACDB2E!723&parid=20F065AFC1ACDB2E!719是powerpoint文件的URL。
您必须将SD20F065AFC1ACDB2E!723替换为您自己的相应URL字符串
我可以通过将PPT保存为mp4(另存为> MPEG-4视频(* .mp4))然后使用视频标签来完成此操作。
<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>
在您的Google云端硬盘上传PowerPoint文档,然后与所有人“共享”(公开):Sharing your pptx doc
然后,转到文件>发布到Web>点击发布按钮。
转到嵌入并复制嵌入代码并将其粘贴到您的网页
最适合我。
你们都准备好了!! :)