diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-30 15:54:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-30 15:54:08 +0100 |
commit | 66b73484c719659d213cab225ae3b63a3aae5228 (patch) | |
tree | abb57afc023eb188e97ac7adc5a3fe9871c320d3 /client/src/assets/player/peertube-player-manager.ts | |
parent | b27bce21f0e3002b81327c4120123f258d88b700 (diff) | |
download | PeerTube-66b73484c719659d213cab225ae3b63a3aae5228.tar.gz PeerTube-66b73484c719659d213cab225ae3b63a3aae5228.tar.zst PeerTube-66b73484c719659d213cab225ae3b63a3aae5228.zip |
Prevent hotkeys playback rate/seek with lives
Diffstat (limited to 'client/src/assets/player/peertube-player-manager.ts')
-rw-r--r-- | client/src/assets/player/peertube-player-manager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts index 413ec2b80..2781850b9 100644 --- a/client/src/assets/player/peertube-player-manager.ts +++ b/client/src/assets/player/peertube-player-manager.ts | |||
@@ -123,7 +123,7 @@ export class PeertubePlayerManager { | |||
123 | self.addContextMenu(videojsOptionsBuilder, player, options.common) | 123 | self.addContextMenu(videojsOptionsBuilder, player, options.common) |
124 | 124 | ||
125 | if (isMobile()) player.peertubeMobile() | 125 | if (isMobile()) player.peertubeMobile() |
126 | if (options.common.enableHotkeys === true) player.peerTubeHotkeysPlugin() | 126 | if (options.common.enableHotkeys === true) player.peerTubeHotkeysPlugin({ isLive: options.common.isLive }) |
127 | if (options.common.controlBar === false) player.controlBar.addClass('control-bar-hidden') | 127 | if (options.common.controlBar === false) player.controlBar.addClass('control-bar-hidden') |
128 | 128 | ||
129 | player.bezels() | 129 | player.bezels() |