利用微软web版预览,url必须是一个线上地址
<iframe
src='https://view.officeapps.live.com/op/view.aspx?src=https://stream.nosdn.127.net/kids/test/1635236800439.pptx' frameborder='0'>
</iframe>
下面这个也是一种路径,没有头部logo导航条,但是默认有一个红边框,而且清晰度不如上面,不建议用。
<iframe
src='https://view.officeapps.live.com/op/embed.aspx?src=https://stream.nosdn.127.net/kids/test/1635236800439.pptx' height='500' >
</iframe>