HTML ontimeupdate Attribute
Example
<video ontimeupdate="myFunction()">
Meaning
The timeupdate event run when the current playback position has changed.
Standard Syntax
<element ontimeupdate="script">
Applies to:
The ontimeupdate attribute can be used on the following element:
| Element | Attribute |
|---|---|
| <audio> | ontimeupdate |
| <video> | ontimeupdate |
Advertisement
Attribute Values
| Value | Description |
|---|---|
| script | Specifies a script that run when the media is time is updated. |