In this example, we assign an "ontimeupdate" event to a video element. When the user starts to play the video, or skips to a new position in the video, a function is triggered, which will display the current position (in seconds) of the video playback.

Playback position:

Second time display:

Third display: