The ontimeupdate event is used to trigger when the playing position of an audio or video has changed.