HTML onloadeddata Attribute
Example
<video id="myVideo" onloadeddata="myFunction()">
Meaning
The onloadeddata script run when the browser has loaded the current frame of the audio/video.
Standard Syntax
<element onloadeddata="script">
Browser Support
Status
Applies to:
The onloadeddata attribute can be used on the following element:
Element | Attribute |
---|---|
<audio> | loadeddata |
<video> | loadeddata |
Attribute Values
Value | Description |
---|---|
script | Specifies the script to be run on onloadeddata. |