HTML onloadstart Attribute

HTML onloadstart Attribute: The HTML onloadstart attribute is defined as an event occurs when the browser starts looking for the specified audio or video, this happens when the loading process starts. During the loading process of an audio/video, the following events occur, in this order:

  • loadstart
  • durationchange
  • loadedmetadata
  • loadeddata
  • progress
  • canplay
  • canplaythrough
  • HTML onloadstart Attribute

HTML onloadstart Attribute

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

Syntax: <audio onloadstart=”script”>

Browser Support:

The HTML onloadstart attribute is supported by the following browsers:

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