Easy Tutorial
❮ Att Iframe Name Tag Sub ❯

HTML Audio/Video DOM loadeddata Event

HTML Audio/Video DOM Reference

Example

Indicates that the data for the current frame is available:


Definition and Usage

The loadeddata event occurs when the data for the current frame is loaded, but there is not enough data to play the next frame of the specified audio/video.

The following events occur in sequence while the audio/video is loading:


Browser Support

All major browsers support the loadeddata event.

Note: Internet Explorer 8 and earlier versions do not support this event.


Syntax

In HTML:

In JavaScript:

Using addEventListener():

Technical Details

Supported HTML Tags: <audio>, <video>
Supported JavaScript Objects: Audio, Video
--- ---

More Examples

Using the onloadeddata attribute on an HTML element

Using addEventListener() to listen for the loadeddata event


❮ Att Iframe Name Tag Sub ❯