Its great the HTML5 video element is nice enough to let me know when it's waiting for something, but how does it let me know when its done waiting?
Check out this link with a description of all video events with a live display of which event is happening when.
Checking readyState
might help you.
Look out for the 'loadeddata', 'canplay' and 'canplaythrough' events - these respectively indicate that some data has been loaded, enough data has been loaded to start playback, and enough data has been loaded to start and finish playback without waiting for further buffering.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With