Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Use getComputedStyle instead of player.width #326

Merged
merged 1 commit into from
Jun 26, 2015
Merged

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented Jun 25, 2015

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 (videojs/video.js#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.

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 (videojs/video.js#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.
@dmlap
Copy link
Member

dmlap commented Jun 25, 2015

LGTM

dmlap added a commit to dmlap/videojs-contrib-hls that referenced this pull request Jun 26, 2015
@dmlap dmlap merged commit d37dc70 into master Jun 26, 2015
@gkatsev gkatsev deleted the getcomputedstyle branch December 29, 2015 18:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants