Advertisement
Home Open Editor ❯

HTML onprogress Attribute

Example

<video onprogress="myFunction()">

Try this code ❯

Meaning

The progress event run when the browser is downloading the audio/video.


Standard Syntax

<element onprogress="script">


Applies to:

The onprogress attribute can be used on the following element:

Element Attribute
<audio> progress
<video> progress

Advertisement

Attribute Values

Value Description
script Specifies a script that run when the media in progress.
Home Open Editor ❯
Advertisement