X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fassets%2Fplayer%2Fpeertube-videojs-plugin.ts;h=10c31cc0f9db91e10e945402d803b5103f9c2d57;hb=b891f9bc612217b5b6f08a886c7d12eca260b9c8;hp=425c8c7a093224b8131519da6ea15620eb887111;hpb=33d7855229f45d73a767566f1dbcb87709211ebf;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 425c8c7a0..10c31cc0f 100644 --- a/client/src/assets/player/peertube-videojs-plugin.ts +++ b/client/src/assets/player/peertube-videojs-plugin.ts @@ -215,7 +215,7 @@ class PeerTubePlugin extends Plugin { this.player.posterImage.hide() this.updateVideoFile(undefined, () => this.player.play()) } else { - // Proxify first play + // Proxy first play const oldPlay = this.player.play.bind(this.player) this.player.play = () => { this.updateVideoFile(undefined, () => oldPlay) @@ -308,7 +308,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')