-
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
loadstart getting triggered twice #2588
Comments
There were also older issues that talked about similar things and if related, I don't think there's much we can do about it. IIRC, at least when preload is set to auto or true, the browser would start loading the file before VJS swaps the video element into the new wrapper div, then the second loadstart event is fired. I could be wrong, but I'll try to find the older issue when I get to a better internet connection. |
FWIW, this appears to be a new issue in 5.0. It was revealed by a test for the videojs-contrib-ads plugin when I upgraded it for 5.0 compatibility. I then ran the same test against the previous 4.x compatible version of the plugin and only one loadstart was triggered. Here's a JSBin demonstrating it: http://jsbin.com/xejigukepa/1/edit?html,console,output |
Ah bummer, that blows that theory to smithereens. On Mon, Sep 14, 2015 at 1:28 PM misteroneill [email protected]
|
- Fixed some issue comments - Fixed a double ready event closes videojs#2605 fixes videojs#2588
This may be related to #1194
The text was updated successfully, but these errors were encountered: