The onloadedmetadata property of the GlobalEventHandlers mixin is the EventHandler for processing loadedmetadata events.

The loadedmetadata event is fired when the metadata has been loaded.


element.onloadedmetadata = handlerFunction;
var handlerFunction = element.onloadedmetadata;

handlerFunction should be either null or a JavaScript function specifying the handler for the event.


Specification Status Comment
HTML Living Standard
The definition of 'onloadedmetadata' in that specification.
Living Standard

Browser compatibility

BCD tables only load in the browser

See also