mirror of
https://gitea.invidious.io/iv-org/videojs-quality-selector.git
synced 2024-08-15 00:43:13 +00:00
Highlight correct resolution in the UI when the source is changed programmatically
This commit is contained in:
parent
156e5923c7
commit
b4a9aa73d0
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ module.exports = function(videojs) {
|
|||
// Update the quality selector with the new source
|
||||
qualitySelector = player.controlBar.getChild('qualitySelector');
|
||||
if (qualitySelector) {
|
||||
qualitySelector.update();
|
||||
qualitySelector.setSelectedSource(selectedSource);
|
||||
}
|
||||
|
||||
// Pass along selected source
|
||||
|
|
Loading…
Reference in a new issue