X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fassets%2Fplayer%2Fpeertube-videojs-plugin.ts;h=4b0677faba6dc43f9a85e8e22277371bf919c7a5;hb=ad77475251c3516dd5851a08655be79d7bf76245;hp=6d96e1c0b2121cda9307104a5a69619078f5dd66;hpb=6d88de725321e77486788f64a2e2537f5e6ef0cd;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/assets/player/peertube-videojs-plugin.ts b/client/src/assets/player/peertube-videojs-plugin.ts index 6d96e1c0b..4b0677fab 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts @@ -269,7 +269,7 @@ class PeerTubePlugin extends Plugin { } // Remote instance is down - if (err.message.indexOf('http error from xs param') !== -1) { + if (err.message.indexOf('from xs param') !== -1) { this.handleError(err) } @@ -590,7 +590,7 @@ class PeerTubePlugin extends Plugin { this.player.options_.inactivityTimeout = 0 } const enableInactivity = () => { - // this.player.options_.inactivityTimeout = saveInactivityTimeout + this.player.options_.inactivityTimeout = saveInactivityTimeout } const settingsDialog = this.player.children_.find(c => c.name_ === 'SettingsDialog')