HTML onplaying Attribute

HTML onplaying Attribute: The HTML onplaying attribute is defined as a script to run when the audio/video has started playing. The onplaying attribute is part of Event Attributes.

HTML onplaying Attribute

The HTML onplaying attribute can be applied on the <audio> and <video> element.

Browser Support

The HTML onplaying attribute is supported by the following browsers:



  • Chrome
  • Firefox
  • Safari
  • Opera
  • Internet Explorer