html - Office Web 查看器错误 - 很抱歉,但由于某种原因,我们无法为您打开它
问题描述
我正在尝试使用 Office Web 查看器,但总是收到此错误:
发生错误 很抱歉,由于某种原因,我们无法为您打开此文件。
我阅读了文档。我尝试使用与示例相同的 PPTX,只是在我的主机上,什么都没有。
我使用的网址之一:
https://online.bleumarin.agency/storage/upload/documents/66578-tool-532t_sutter.pptx - My, Doesn't work.
-
http://video.ch9.ms/build/2011/slides/TOOL-532T_Sutter.pptx - WORKS
我正在使用并嵌入(或 iframe)标签,我的 URL 已编码:
<embed
src="https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fonline.bleumarin.agency%2Fstorage%2Fupload%2Fdocuments%2F66578-tool-532t_sutter.pptx"
frameborder="0"
width="100%" height="100%"></embed>
有人可以给我一个建议或解释吗?为什么?T_T
解决方案
发送微软到****,使用谷歌<3
<iframe width="100%" height="500px" src="https://docs.google.com/gview?url=https://online.bleumarin.agency/test&embedded=true"></iframe>
推荐阅读
- c - 堆栈切换的 TSS 表项
- r - R中的mem_change,在删除向量时应该是负数
- sql - SQL - 根据条件填充列值
- python - 在 Python 中迭代大列表的更快方法
- swift - 在 Swift 中解码无效的 UTF-8 时保持二进制表示
- python - Keras LSTM ValueError:检查目标时出错:预期dense_23具有形状(1,)但得到形状为(70,)的数组
- performance - go - 如何在映射带有子切片的结构时降低时间复杂度?
- javascript - 如何使用 mocha chai 检查 prisma 服务器是否正在运行?
- c++ - 如何在你的库中包含外部库?
- c# - 如何在 ASP.Net Core 的剃须刀页面上连接 ViewData 中的两个数据?