Easy Tutorial
❮ Att Input Src Att Hn Align ❯

HTML Audio/Video DOM progress Event

HTML Audio/Video DOM Reference Manual

Example

Indicates that the video is downloading:


Definition and Usage

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

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


Browser Support

All major browsers support the progress 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 onprogress attribute on HTML elements

Using addEventListener() to listen for the progress event


❮ Att Input Src Att Hn Align ❯