diff options
Diffstat (limited to 'client/src/assets/player/peertube-videojs-plugin.ts')
-rw-r--r-- | client/src/assets/player/peertube-videojs-plugin.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 848dcb266..5fad139b9 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts | |||
@@ -331,6 +331,10 @@ class PeerTubePlugin extends Plugin { | |||
331 | if (playPromise !== undefined) { | 331 | if (playPromise !== undefined) { |
332 | return playPromise.then(done) | 332 | return playPromise.then(done) |
333 | .catch(err => { | 333 | .catch(err => { |
334 | if (err.message.indexOf('The play() request was interrupted by a call to pause()') !== -1) { | ||
335 | return | ||
336 | } | ||
337 | |||
334 | console.error(err) | 338 | console.error(err) |
335 | this.player.pause() | 339 | this.player.pause() |
336 | this.player.posterImage.show() | 340 | this.player.posterImage.show() |