mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-04-24 17:29:12 -04:00
Highlight correct resolution in the UI when the source is changed programmatically
This commit is contained in:
parent
156e5923c7
commit
b4a9aa73d0
@ -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…
x
Reference in New Issue
Block a user