[This documentation is preliminary and is subject to change.]
Occurs when the duration and dimensions of the media have been determined.
|HTML Attribute||<element onloadedmetadata = "handler(event)">|
|Event Property||object.onloadedmetadata = handler;|
|attachEvent Method||object.attachEvent("onloadedmetadata", handler)|
|addEventListener Method||object.addEventListener("loadedmetadata", handler, useCapture)|
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 220.127.116.11
Event handler parameters
- pEvtObj [in]
The onloadedmetadata event is raised when enough of the resource has been obtained to know the full duration of the resource. In the case of a video element, the dimensions of the video are also known.
This event occurs after ondurationchange.
To invoke this event, do one of the following:
- Load a media resource.
Build date: 1/25/2012