抖音网页版不支持倍速了
抖音网页版不支持倍速了,失灵时不灵,基本不支持倍速了。
我也遇到了这个问题,看起来是下滑到后面的视频后,插件在控制前面视频的倍数,后面新的视频的倍数没有被控制 I also encountered this issue. It seems that after scrolling down to the subsequent video, the plugin controls the multiple of the previous video, but the multiple of the new video that follows is not controlled
已在分支上修复:fix/douyin-bplayer-playback-rate(commit 3e8a525)
根因: 抖音用 requestAnimationFrame 循环持续重写 video.playbackRate。Ghost mode 只拦截 ratechange 事件的传播,拦不住赋值本身——所以扩展写进去的速度,下一帧就被抖音覆盖掉。
修复: 新增 AggressiveRateLocker(src/contentScript/isolated/utils/aggressiveRateLock.ts),每 100 ms 把目标速度重新写回。只在需要的站点上启用,其他网站不受影响。
同一分支还顺带修了 BPlayer(百加云)播放器覆盖速度的问题,比如 pc.vkbrother.com——它自己的 setSpeed() 限定 0.5x–2x 并写进 localStorage,会把扩展设的速度顶掉。
npm run lint 通过,dev 构建成功。上游仓库关闭了 Pull Requests 功能,没法开 PR,所以在这里说明。分支领先 master 2 个提交,无冲突。
Hello! 抖音的修复已在 3.4.120 版本中发布:Global Speed 现在通过抖音自己的播放器设置倍速,下滑到新视频后也会继续生效。感谢 @Swcmb 的分析和分支!如果最新版本仍有问题,欢迎重新打开。
(English: Hello! A fix for Douyin went out in version 3.4.120: Global Speed now sets the speed through Douyin's own player, so it keeps working as you scroll to new videos. Thanks @Swcmb for the analysis and branch! Feel free to reopen if it still happens on the latest version.)