You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the 'vjs-has-started' class never gets added to this.el_
Also possible that the onLoadstart event is removing 'vjs-has-started', but it looks like the class never gets added because the onFirstPlay event never gets fired.
This is a great rundown of what's happening in #1237. I haven't had a chance to dig in yet, but when I started seeing these issues I assumed this is where the problem was (I made the changes to reset the player, so this one's on me). Thanks for the description, I'll try and get a fix out as soon as I can, but with @heff getting his learn on at JSConf it will be probably be a minute before we get a minor version update deployed. In the meantime, your fix should solve the problem, so thanks for sharing.
yes i run with the same problem with latest builds. 4.6.0 worked fine to me. i needed to force vjs-has-started externally until is fixed. happend the same that #1237 too and need to remove the bug play from the list too.
This is a 4.6.1 issue, functionality seemed fine in 4.4.3
With a fairly contrived example where we implement autoplay by calling
player.play
inside the ready handler like:the 'vjs-has-started' class never gets added to this.el_
Also possible that the
onLoadstart
event is removing 'vjs-has-started', but it looks like the class never gets added because theonFirstPlay
event never gets fired.I hacked around it by adding:
to the
onLoadStart
function, but not sure that's a great approachHere's a simple example:
http://jsfiddle.net/2qAeT/1/
Edits by @mmcc: Added code blocks for readability
The text was updated successfully, but these errors were encountered: