HTML video tag onTimeUpdate firing interval
The callback attached to the onTimeUpdate property of the HTML video tag fires, at its slowest, once every 250ms.
In my tests, when I just let the video play normally, the onTimeUpdate callback was called about 4 times per second.
Here is the relevant part of the HTML5 spec document.

References
- https://html.spec.whatwg.org/#event-media-timeupdate
- https://stackoverflow.com/a/12325960/8403199
20220413
Leave a comment