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