HTML onprogress Attribute

HTML onprogress Attribute: The HTML onprogress attribute is defined as a script to be run when the browser is downloading the specified audio or video. During the loading process of an audio/video, the following events occur in this order: onloadstart, ondurationchange, onloadedmetadata, onloaded data, onprogress, oncanplay, oncanplaythrough. The onprogress attribute is part of the Event Attributes.

HTML onprogress Attribute

The HTML onprogress attribute can be applied on the <audio> and <video> elements.

Syntax: <element onprogress=”script”>



Browser Support

The HTML onprogress attribute is supported by the following browsers:

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer-9.0