HTML Audio/Video DOM Reference
Alert that data for the current frame is available:
The loadeddata event occurs when data for the current frame is loaded, but not enough data to play next frame of the specified audio/video.
During the loading process of an audio/video, the following events occur, in this order:
![]()
The loadeddata event is supported in all major browsers.
Note: This property is not supported in Internet Explorer 8 and earlier.
In HTML:
In JavaScript:
Using addEventListener():
| Supported HTML tags: | <audio>, <video> |
|---|---|
| Supported JavaScript objects: | Audio, Video |
Use the onloadeddata attribute on an HTML element
Use addEventListener() to listen for the loadeddata event
HTML Audio/Video DOM Reference
Your message has been sent to W3Schools.