diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/assets/player/peertube-videojs-plugin.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index f303301d5..e4fea0991 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts | |||
@@ -263,7 +263,7 @@ class PeerTubePlugin extends Plugin { | |||
263 | const options = { | 263 | const options = { |
264 | forcePlay: false, | 264 | forcePlay: false, |
265 | delay, | 265 | delay, |
266 | seek: currentTime | 266 | seek: currentTime + (delay / 1000) |
267 | } | 267 | } |
268 | this.updateVideoFile(newVideoFile, options) | 268 | this.updateVideoFile(newVideoFile, options) |
269 | } | 269 | } |
@@ -310,6 +310,7 @@ class PeerTubePlugin extends Plugin { | |||
310 | this.player.pause() | 310 | this.player.pause() |
311 | this.player.posterImage.show() | 311 | this.player.posterImage.show() |
312 | this.player.removeClass('vjs-has-autoplay') | 312 | this.player.removeClass('vjs-has-autoplay') |
313 | this.player.removeClass('vjs-has-big-play-button-clicked') | ||
313 | 314 | ||
314 | return done() | 315 | return done() |
315 | }) | 316 | }) |