Cloudreve icon indicating copy to clipboard operation
Cloudreve copied to clipboard

原有配置无法正常使用 Office 文档预览服务

Open nanxuanmoke opened this issue 1 year ago • 7 comments

如下图所示,像这样的临时下载链接无法使用 Office 文档预览服务。 这个链接测试过,是有效的,在浏览器可以正常下载。 图片

改成外链后可正常预览。 图片

nanxuanmoke avatar Aug 12 '23 21:08 nanxuanmoke

可以看一下控制台中的报错,可能会有有用的信息

caspershw avatar Aug 24 '23 04:08 caspershw

可以看一下控制台中的报错,可能会有有用的信息

无报错,检查过了。

nanxuanmoke avatar Aug 25 '23 06:08 nanxuanmoke

同样的问题

HNQX avatar Sep 05 '23 03:09 HNQX

感觉是因为微软禁止了国内的访问 https://answers.microsoft.com/en-us/msoffice/forum/all/were-sorry-but-for-some-reason-we-cant-open-this/cb5ec030-24d4-4545-85b4-ce5a3e9a48c5

dyjcow avatar Sep 08 '23 01:09 dyjcow

感觉是因为微软禁止了国内的访问 https://answers.microsoft.com/en-us/msoffice/forum/all/were-sorry-but-for-some-reason-we-cant-open-this/cb5ec030-24d4-4545-85b4-ce5a3e9a48c5

跟这无关,挂代理不挂我都测试过,我已经明确指出是临时链接的问题,如果换成外链则可以正常预览。

nanxuanmoke avatar Sep 08 '23 01:09 nanxuanmoke

Fixed in #1844.

YUDONGLING avatar Sep 22 '23 00:09 YUDONGLING

兄弟你解决了吗? 我也遇到了, doc和xls类型的连接无法预览, 看了的确是由于${src}使用的是下载连接,不是那种公开对外链接(以.doc、.xls等文件名结尾),导致默认的微软的预览不能使用((#1844 )好像没有解决吧? )

innocentpp avatar Apr 13 '24 12:04 innocentpp