mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2024-10-01 06:35:49 -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…
Reference in New Issue
Block a user