Highlight correct resolution in the UI when the source is changed programmatically

This commit is contained in:
Ethan Smith 2017-08-03 15:21:24 -04:00
parent 156e5923c7
commit b4a9aa73d0

View File

@ -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