HTML onloadedmetadata Attribute: The HTML onloadedmetadata attribute can be defined as an event occurs when metadata for the specified audio/video has been loaded. 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 onloadedmetadata Attribute
This attribute is applied on <audio> and <video> elements.
Syntax: <audio onloadedmetadata=”script”>
This attribute is supported by the following browsers:
- Internet Explorer-9.0