The onloadeddata property sets and returns the event handler for the loadeddata event.


element.onloadeddata = handlerFunction;
var handlerFunction = element.onloadeddata;

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


See the DOM event handlers page for information on working with on... handlers.

The loadeddata event is fired when the first frame of the media has finished loading.

See the loadeddata event documentation for more information about the event.


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

Document Tags and Contributors

 Contributors to this page: rolfedh, Guillaume-Heras
 Last updated by: rolfedh,