]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/assets/player/peertube-plugin.ts
Exclude 0p from auto webtorrent quality
[github/Chocobozzz/PeerTube.git] / client / src / assets / player / peertube-plugin.ts
index 5085f7f86b758832ea9b19e371cceb0ebf055b77..a5a706420c6b146ac17aa66140e794e441f37de1 100644 (file)
@@ -45,7 +45,7 @@ class PeerTubePlugin extends Plugin {
 
     this.savedInactivityTimeout = player.options_.inactivityTimeout
 
-    if (options.autoplay === true) this.player.addClass('vjs-has-autoplay')
+    if (options.autoplay) this.player.addClass('vjs-has-autoplay')
 
     this.player.on('autoplay-failure', () => {
       this.player.removeClass('vjs-has-autoplay')