-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
play fires before loadstart on Win8 RT, IE 10 #1270
Comments
This is related to a few other open issues. Working on a fix now. |
All of these issues seem to boil down to race conditions on loadstart. I think triggering the loadstart handler synchronously during player init (something like #1208) would be safer. |
Yeah, @mmcc helped me think through this one and the conclusion was that the code assumes the play event comes after the loadstart event, which is wrong in a lot of cases, as you've found. So I'm reworking the code to take that into account. The fun comes in that we have to use the |
Can you review this one? #1271 |
Closed by #1271 |
Discovered on Win8 RT, IE 10 but seems to be happening in Chrome on OSX as well. If play() is called programmatically immediately after setting a source, it may fire before loadstart and cause the big play button to stay up. Example on jsfiddle.
The text was updated successfully, but these errors were encountered: