HTML onprogress Attribute
Definition and Usage
The onprogress attribute defines a script to be run when the browser is downloading the specified audio/video.
During the loading process of an audio/video, the following events occur, in this order:
The onprogress attribute is part of the Event Attributes, and can be used on the following elements:
Run "myFunction" when the audio file is being downloaded:
Run "myFunction" when the video is being downloaded:
onprogress attribute has the following browser support for each element: