Use getComputedStyle instead of player.width
When upswitching, we try to find the best resolution based on bandwidth and based on the player dimensions. However, player.width will return the set width value of the player (https://github.com/videojs/video.js/issues/2282) instead of the current value which means that in fullscreen we don't think we the player changes size and so we don't upswitch.
Showing
1 changed file
with
10 additions
and
5 deletions
-
Please register or sign in to post a comment