onprogress event
More examples are included at the bottom of this article.
Definitions and usages
The onprogress event is triggered when the browser downloads the specified video/audio/video.
During the download of video/audio, the order in which events are triggered is as follows:
Browser support
The numbers in the table support the version number of the first browser for the event.
Event | |||||
---|---|---|---|---|---|
onprogress | Yes | 9.0 | Yes | Yes | Yes |
Grammar
In HTML:
In JavaScript:
In JavaScript, use the addEventListener() method:
Note: The addEventListener() method is not supported in Internet Explorer 8 and earlier versions of IE.
Technical details
Whether to support bubbling: | No |
---|---|
Can I cancel: | No |
Types of events: | Event |
Supported HTML tags: | <audio>, <video> |
More instances
The event object