From b27bce21f0e3002b81327c4120123f258d88b700 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 30 Dec 2022 15:38:26 +0100 Subject: Hide playback rate for lives --- .../player/shared/manager-options/control-bar-options-builder.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client') 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 { private getSettingsButton () { const settingEntries: string[] = [] - settingEntries.push('playbackRateMenuButton') + if (!this.options.isLive) { + settingEntries.push('playbackRateMenuButton') + } if (this.options.captions === true) settingEntries.push('captionsButton') -- cgit v1.2.3