aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-12-30 15:38:26 +0100
committerChocobozzz <me@florianbigard.com>2022-12-30 15:38:26 +0100
commitb27bce21f0e3002b81327c4120123f258d88b700 (patch)
tree96bbeaec7f807caac6837d007af7c7f994325b8a /client/src/assets/player/shared
parentcf7045bfd7866447a3f18e1395c7978a4296c7ec (diff)
downloadPeerTube-b27bce21f0e3002b81327c4120123f258d88b700.tar.gz
PeerTube-b27bce21f0e3002b81327c4120123f258d88b700.tar.zst
PeerTube-b27bce21f0e3002b81327c4120123f258d88b700.zip
Hide playback rate for lives
Diffstat (limited to 'client/src/assets/player/shared')
-rw-r--r--client/src/assets/player/shared/manager-options/control-bar-options-builder.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/assets/player/shared/manager-options/control-bar-options-builder.ts b/client/src/assets/player/shared/manager-options/control-bar-options-builder.ts
index df1e8eabe..26f923e92 100644
--- a/client/src/assets/player/shared/manager-options/control-bar-options-builder.ts
+++ b/client/src/assets/player/shared/manager-options/control-bar-options-builder.ts
@@ -71,7 +71,9 @@ export class ControlBarOptionsBuilder {
71 private getSettingsButton () { 71 private getSettingsButton () {
72 const settingEntries: string[] = [] 72 const settingEntries: string[] = []
73 73
74 settingEntries.push('playbackRateMenuButton') 74 if (!this.options.isLive) {
75 settingEntries.push('playbackRateMenuButton')
76 }
75 77
76 if (this.options.captions === true) settingEntries.push('captionsButton') 78 if (this.options.captions === true) settingEntries.push('captionsButton')
77 79