使用html在网页中显示PowerPoint演示文稿 [英] Show the PowerPoint presentation in web page using html

查看:105
本文介绍了使用html在网页中显示PowerPoint演示文稿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图长时间显示我的ppt,其中屏幕应在网页中连续运行,而该文件在我的本地文件夹中,但未在网页中显示.代码如下:

I trying to display my ppt with long time where the screen should run continuously in web page where the file is in my local folder but it is not showing in web page. The code is below :

<!DOCTYPE html>
<html>
<body>
<iframe src="lp.ppt" width="800px" heigt="600px" name="iframe_a"></iframe>
</body>
</html>

任何人都可以帮助在html页面中显示ppt.

can anyone help to display ppt in html page.

推荐答案

您可以使用Google文档作为文档查看器.您只需要上传文件并将共享链接用作iframe src.

You can use Google Docs to serve as your document viewer. You just need to upload your file and use the share link as the iframe src.

您可以通过上传文件并在google docs(在本例中为Google幻灯片)中打开文件来获取嵌入代码,然后单击文件"标签,然后单击发布到网络.从那里您可以复制嵌入代码.确保文件是公开的!:)

You can get the embed code by uploading your file and opening it in google docs (in this case, Google Slides) then click the file tab and click the Publish to the Web. From there you can copy the embed code. Make sure that the file is public! :)

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

希望这会有所帮助!

这篇关于使用html在网页中显示PowerPoint演示文稿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆