Assign an "ontimeupdate" event to a video element.
When the user plays the video, or skips to a new position, a function will display the position (in seconds) of the playback:
Playback position:
Video courtesy of Big Buck Bunny.