HTML Audio/Video DOM loadeddata Event
HTML Audio/Video DOM Reference
Example
Display a message when the data for the current frame is available:
myVid=document.getElementById("video1");
myVid.onloadeddata=alert("Browser has loaded the current frame");
Try it »
Definition and Usage
The loadeddata event occurs when the data for the current frame is loaded but there is not enough data to play the next frame of the specified audio/video.
While the audio/video is loading, the following events occur in order:
Browser support





All major browsers support the loadeddata event.
**Note:** Internet Explorer 8 and earlier versions do not support this event.
Syntax
In HTML: