Skip to content

Commit 1d04801

Browse files
authored
fix(UI): Reset quality mark when switching from video stream to audio only stream (#8605)
1 parent e4fcc94 commit 1d04801

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/resolution_selection.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ shaka.ui.ResolutionSelection = class extends shaka.ui.SettingsMenu {
119119
updateLabels_() {
120120
const abrEnabled = this.player.getConfiguration().abr.enabled;
121121
if (this.player.isAudioOnly()) {
122+
this.qualityMark.textContent = '';
123+
this.qualityMark.style.display = 'none';
122124
if (this.overflowQualityMark) {
123125
this.overflowQualityMark.textContent = '';
124126
this.overflowQualityMark.style.display = 'none';

0 commit comments

Comments
 (0)