Hide playback rate for lives
This commit is contained in:
parent
cf7045bfd7
commit
b27bce21f0
|
@ -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')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue