HTML Audio/Video DOM progress Event
HTML Audio/Video DOM Reference
Example
Display a message while the video is downloading:
myVid=document.getElementById("video1");
myVid.onprogress=alert("Downloading video");
Try it »
Definition and Usage
The progress event occurs while the browser is downloading the specified audio/video.
While the audio/video is loading, the following events occur in order:
Browser support





All major browsers support the progress event.
**Note:** Internet Explorer 8 and earlier versions do not support this event.
Syntax
In HTML: