diff options
Diffstat (limited to 'client/src/assets/player/peertube-plugin.ts')
-rw-r--r-- | client/src/assets/player/peertube-plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-plugin.ts b/client/src/assets/player/peertube-plugin.ts index 5085f7f86..a5a706420 100644 --- a/client/src/assets/player/peertube-plugin.ts +++ b/client/src/assets/player/peertube-plugin.ts | |||
@@ -45,7 +45,7 @@ class PeerTubePlugin extends Plugin { | |||
45 | 45 | ||
46 | this.savedInactivityTimeout = player.options_.inactivityTimeout | 46 | this.savedInactivityTimeout = player.options_.inactivityTimeout |
47 | 47 | ||
48 | if (options.autoplay === true) this.player.addClass('vjs-has-autoplay') | 48 | if (options.autoplay) this.player.addClass('vjs-has-autoplay') |
49 | 49 | ||
50 | this.player.on('autoplay-failure', () => { | 50 | this.player.on('autoplay-failure', () => { |
51 | this.player.removeClass('vjs-has-autoplay') | 51 | this.player.removeClass('vjs-has-autoplay') |