HTML onloadeddata Attribute: The HTML onloadeddata attribute is defined as an event occurs when data for the current frame is loaded, but not enough data to play next frame of the specified audio/video. Metadata for audio/video consists of duration, dimensions (video only) and text tracks.
During the loading process of an audio/video, the following events occur, in this order:
HTML onloadeddata Attribute
This attribute can be applied on the <audio> and <video> elements.
Syntax: <audio onloadedmetadata=”script”>
This attribute is supported by the following browsers:
- Internet Explorer-9.0