HTML ontimeupdate Attribute

HTML ontimeupdate Attribute: This attribute defines a script to run when the playing position of an audio or video has changed.

HTML ontimeupdate Attribute

This  attribute can be applied on <audio> and <video> elements.

This event is invoked by:
Playing the audio/video
Moving the playback position (like when the user fast forwards to a different point in the audio/video)

Browser Support:

The HTML ontimeupdate attribute is supported by the following browsers:

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