Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

Small update to #164 #165

Merged
merged 2 commits into from
Jun 23, 2015
Merged

Conversation

dmlap
Copy link
Member

@dmlap dmlap commented Jun 23, 2015

Run metadata handler in more circumstances.

Shintaro Tanaka and others added 2 commits June 23, 2015 00:33
… aspects even if _onmetadataFired == true.
When we attempted to ensure that "loadeddata" would never fire before "loadedmetadata" in videojs#122, we also stopped updated video dimensions from propagating to the video view. Retain the boolean to ensure that load events only occur once per video but scope the conditional so that the other effects of new metadata are still run.
@dmlap
Copy link
Member Author

dmlap commented Jun 23, 2015

I'm not able to reliably reproduce the aspect ratio problem but I did regression test on Chrome, Firefox, and IE8.

@gkatsev
Copy link
Member

gkatsev commented Jun 23, 2015

LG(if a bit weird)TM

@dmlap
Copy link
Member Author

dmlap commented Jun 23, 2015

Agreed. I was trying to get us back to the state pre-#122 in the metadata handler with as little additional change as possible.

dmlap added a commit that referenced this pull request Jun 23, 2015
@dmlap dmlap merged commit aa39a63 into videojs:master Jun 23, 2015
@dmlap dmlap deleted the misttechnologies-hotfix/aspect branch June 23, 2015 19:32
dmlap added a commit to dmlap/video-js-swf that referenced this pull request Jun 23, 2015
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