JSREF
onloadeddata Event
Execute a JavaScript when data for the current frame is available (for <video>):