mirror of
https://github.com/videojs/video.js.git
synced 2024-12-21 01:39:04 +02:00
clear out the display if we turn off all the tracks
This commit is contained in:
parent
3857a02b0a
commit
d93acfcf7a
@ -290,6 +290,8 @@ class TextTrackDisplay extends Component {
|
|||||||
this.setAttribute('aria-live', 'assertive');
|
this.setAttribute('aria-live', 'assertive');
|
||||||
}
|
}
|
||||||
this.updateForTrack(descriptionsTrack);
|
this.updateForTrack(descriptionsTrack);
|
||||||
|
} else {
|
||||||
|
this.clearDisplay();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user