Zkeq
Zkeq
I think I meet the same problem, Do you finally found the solution? When I use m3u8 , p tags can't properly load... When I use the mp4, it work...
相同问题: - https://github.com/spencerwooo/onedrive-vercel-index/discussions/518#discussioncomment-2719290 - https://github.com/spencerwooo/onedrive-vercel-index/discussions/518#discussioncomment-2798577 - https://github.com/spencerwooo/onedrive-vercel-index/discussions/633#discussioncomment-2698653 - https://github.com/spencerwooo/onedrive-vercel-index/discussions/112#discussioncomment-2799037
> pdf-for-onedrive.vercel.app - 你在哪找的?还是自己部署的?有相应仓库吗 有的,是自己部署的,之前玩 oss 的时候捣鼓的,正好用上了 而且我加了分片加载功能,原先的 pdf.js 是全部加载完成后再显示 我这个应该是先加载首屏,然后再边显示边加载 ( 详情看下面的视频链接... ) 方法是百度出来的.... 我之前尝试过预览一个 800 mb 的文件, 在加载到 50 MB 的时候就可以看到首屏 仓库地址: https://github.com/zkeq/pdf-js-learn
> pdf-for-onedrive.vercel.app - 你在哪找的?还是自己部署的?有相应仓库吗 大文件测试视频链接:https://public-zkeq.oss-cn-beijing.aliyuncs.com/pdf-test.mp4
> > 仓库地址: > > [zkeq/pdf-js-learn](https://github.com/zkeq/pdf-js-learn) > > 私有的仓库诶 @zkeq 啊,抱歉,请再次查看...
> 至于 pdf.js 为什么会多次 fetch 同一 url 就不清楚了…… 用我提供的地址还会出现这个问题吗? 我看了下, 我那个 `pdf.js` [仓库](https://github.com/zkeq/pdf-js-learn) 应该一共做了3处改动且均在 `viewer.js` 上面.. https://github.com/zkeq/pdf-js-learn/blob/main/viewer.js 第一处: `157` 行 : [链接](https://github.com/zkeq/pdf-js-learn/blob/593f1c449362134d7622a17afaab2587993b2b29/viewer.js#L157) ``` disableAutoFetch: { - value: false, + value:...
> 会,只是不会因为这些 request 失败而报错 那就奇怪了 我建的网站是教育版的好像, 换成我这个之后就没有报错了... 网站地址: https://tuostudy.vercel.app
> 确实不会报错,但是 pdf.js 依然是 fetch 了 3 次并且其中 2 次失败了,第 1 次成功了。 看起来很诡异 但是我的 `Edge` 或者说 `Chrome` 3 次 fetch 均成功,换成 `Firefox` 则有 2 次失败 手机端 测试用的浏览器是 `Kiwi Browser`,也是 2...
> 后两个失败的 request 有 `Range` header,应该是 pdf.js 想多线程 我上面截图可以看到 第一次的返回码是 `200` 后两次的返回码是 `206` 或许是因为 206 的原因 ?
> 请问你在播放mp4格式视频的时候会出问题吗? 什么问题?