loadedmetadata
Overview Table
Synchronous | No |
---|---|
Bubbles | No |
Target | dom/Element |
Cancelable | No |
Default action |
Remarks
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.
Syntax
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12
Event handler parameters
- pEvtObj [in]
- Type: ****IHTMLEventObj****
See also
Related pages
- audioApiaudioApi
- audioElementaudioElement
- DocumentDocument
- sourcesource
- videoElementvideoElement
- videoApivideoApi
- WindowWindow
Reference
- onloadstartonloadstart
- onloadeddataonloadeddata
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]