我试图用很长的时间显示我的ppt,屏幕应该在网页中连续运行,其中文件在我的本地文件夹中,但它不在网页中显示。代码如下:
<!DOCTYPE html>
<html>
<body>
<iframe src="lp.ppt" width="800px" heigt="600px" name="iframe_a"></iframe>
</body>
</html>谁可以帮助在html页面中显示ppt。
发布于 2016-08-31 17:58:15
您可以使用Google Docs作为文档查看器。你只需要上传你的文件,并使用共享链接作为iframe src。
你可以通过上传你的文件并在google docs (在这个例子中是谷歌幻灯片)中打开它来获取嵌入代码,然后点击文件标签并点击Publish to the Web。从那里你可以复制嵌入的代码。确保该文件是公共的!:)
<iframe src="https://docs.google.com/presentation/d/17nlO95lz91-shRep16UiJl-3EAxv-MnOFH718ku2gtw/embed?start=false&loop=false&delayms=3000" frameborder="0" width="960" height="749" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
<iframe src="https://docs.google.com/presentation/d/17nlO95lz91-shRep16UiJl-3EAxv-MnOFH718ku2gtw/embed?start=false&loop=false&delayms=3000" frameborder="0" width="960" height="749" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
希望这能有所帮助!
https://stackoverflow.com/questions/39246272
复制相似问题