19
rated 0 times
[
25]
[
6]
/ answers: 1 / hits: 59459
/ 14 Years ago, thu, march 3, 2011, 12:00:00
is there an JavaScript event triggered, if a HTML5 video is ready for playback?
More From » html
is there an JavaScript event triggered, if a HTML5 video is ready for playback?
I assume that ready for playback means that the readyState
property is equal to HAVE_ENOUGH_DATA
constant (numeric value 4). According to the doc, when the readyState property turn to this value, a canplay
event should be fired.