diff options
-rw-r--r-- | client/src/assets/player/peertube-videojs-plugin.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 32cc4cd8f..936fb2577 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts | |||
@@ -240,6 +240,8 @@ class PeerTubePlugin extends Plugin { | |||
240 | 240 | ||
241 | if (options.seek) this.seek(options.seek) | 241 | if (options.seek) this.seek(options.seek) |
242 | if (options.forcePlay === false && paused === true) this.player.pause() | 242 | if (options.forcePlay === false && paused === true) this.player.pause() |
243 | |||
244 | return done(err) | ||
243 | }) | 245 | }) |
244 | }) | 246 | }) |
245 | }, options.delay || 0) | 247 | }, options.delay || 0) |