Commit c02f267d by wangshuo

重新播放时需要重启定时器

parent aa567236
......@@ -542,6 +542,9 @@ class Video extends Component {
is_live: 0,
}))
}
if(!this.timer) {
this.setupTimer();
}
})
this.player.on('ratechange', () => {
this.currentPlaybackRate = this.player.playbackRate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment