https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/timeupdate_event?ref=content.metaview.ai
HTMLMediaElement: timeupdate event - Web APIs | MDN
The timeupdate event is fired when the time indicated by the currentTime attribute has been updated.
event webhtmlmediaelementapismdn