提交 6a65e17c authored 作者: 王鹏飞's avatar 王鹏飞

fix: 修复视频播放倍速调整后统计时长错误的问题

上级 fc5e752f
...@@ -258,9 +258,7 @@ export default { ...@@ -258,9 +258,7 @@ export default {
} }
// 默认增加时间 // 默认增加时间
this.progress.pt = this.progress.pt || 20 this.progress.pt = this.progress.pt || 20
// 播放倍速 this.progress.pt++
const speed = this.player._originalPlaybackRate || 1
this.progress.pt += 1 * speed
} }
}, },
beforeMount() { beforeMount() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论