thshu
thshu
我用弹幕库的时候总是出现内存一直增长,直到网页崩溃,目前我弹幕加载方案是先请求接口拿到所有的弹幕数据,然后监听timeupdate事件去调用弹幕库的load方法追加弹幕,目前测试如果弹幕关掉不显示(timeupdate时间内一样进行弹幕追加)就不会出现内存一直增长的情况 相关代码: ``` let lastSkipIndex = -1; let lastDanmuLoadedUntil = -1; let danmuConfig = { loadedUntil: 0, segmentDuration: 10 } art.on("video:timeupdate", () => { const currentTime = art.currentTime; // 弹幕分段加载...
### Please make sure of the following things - [X] I have read the [documentation](https://alist.nn.ci). 我已经阅读了[文档](https://alist.nn.ci)。 - [X] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。 - [X]...
### Please make sure of the following things - [X] I have read the [documentation](https://alist.nn.ci). 我已经阅读了[文档](https://alist.nn.ci)。 - [X] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。 - [X]...
### Please make sure of the following things - [x] I have read the [documentation](https://alist.nn.ci). 我已经阅读了[文档](https://alist.nn.ci)。 - [x] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。 - [x]...
### 确认 - [x] 我的版本是最新版本,我的版本号与 [version](https://github.com/jxxghp/MoviePilot/releases/latest) 相同。 - [x] 我已经 [issue](https://github.com/jxxghp/MoviePilot/issues) 中搜索过,确认我的问题没有被提出过。 - [x] 我已经 [Telegram频道](https://t.me/moviepilot_channel) 中搜索过,确认我的问题没有被提出过。 - [x] 我已经修改标题,将标题中的 描述 替换为我遇到的问题。 ### 当前程序版本 a8aedba6 ### 运行环境 Windows ### 问题类型...
### 确认 - [x] 我的版本是最新版本,我的版本号与 [version](https://github.com/jxxghp/MoviePilot/releases/latest) 相同。 - [x] 我已经 [issue](https://github.com/jxxghp/MoviePilot/issues) 中搜索过,确认我的问题没有被提出过。 - [x] 我已经 [Telegram频道](https://t.me/moviepilot_channel) 中搜索过,确认我的问题没有被提出过。 - [x] 我已经修改标题,将标题中的 描述 替换为我遇到的问题。 ### 当前程序版本 v2.8.1-1 ### 运行环境 Docker ### 问题类型...
### 确认 - [x] 我的版本是最新版本,我的版本号与 [version](https://github.com/jxxghp/MoviePilot/releases/latest) 相同。 - [x] 我已经 [issue](https://github.com/jxxghp/MoviePilot/issues) 中搜索过,确认我的问题没有被提出过。 - [x] 我已经 [Telegram频道](https://t.me/moviepilot_channel) 中搜索过,确认我的问题没有被提出过。 - [x] 我已经修改标题,将标题中的 描述 替换为我遇到的问题。 ### 当前程序版本 软件版本 v2.9.7;前端版本 v2.9.7;浏览器缓存版本 v2.9.7;认证资源版本 2.4.5;站点资源版本 2.2.8...
### Expected behaviour 预期为触发事件在控制台输出 视频播放完毕 ### Actual behaviour 没有任何事件被触发 ### Steps to reproduce 相关代码: ```javascript art.on('ended', () => { console.log("视频播放完毕"); speed.value++ }); ``` ### Environment - Browser: 谷歌浏览器 - Version:...
具体规律还没有找到,但是确实有这种问题,原来以为是我代码的问题,但是发现alist内也会有相同的问题,播放视频没有声音  使用本地的播放器是有声音的
播放视频加载问题
现在播放视频的方法我看时从头开始加载,一直加载到当前播放的地方,有没有什么办法优化一下啊?直接从当前位置开始加载避免不是从头开始播放时要一直等待加载