Advertisement
Home Open Editor ❯

HTML onloadstart Attribute

Example

<video id="myVideo" onloadstart="myFunction()">

Try this code ❯

Meaning

The onloadstart script run when the browser starts looking for the audio/video.


Standard Syntax

<element onloadstart="script">


Applies to:

The onloadstart attribute can be used on the following element:

Element Attribute
<audio> loadstart
<video> loadstart

Advertisement

Attribute Values

Value Description
script Specifies the script to be run on loadstart.
Home Open Editor ❯
Advertisement