Hide playback rate for lives

This commit is contained in:
Chocobozzz 2022-12-30 15:38:26 +01:00
parent cf7045bfd7
commit b27bce21f0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@ export class ControlBarOptionsBuilder {
private getSettingsButton () { private getSettingsButton () {
const settingEntries: string[] = [] const settingEntries: string[] = []
settingEntries.push('playbackRateMenuButton') if (!this.options.isLive) {
settingEntries.push('playbackRateMenuButton')
}
if (this.options.captions === true) settingEntries.push('captionsButton') if (this.options.captions === true) settingEntries.push('captionsButton')