less than 1 minute read

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.

html5 spec

References

  • https://html.spec.whatwg.org/#event-media-timeupdate
  • https://stackoverflow.com/a/12325960/8403199

20220413

Tags:

Categories:

Updated:

Leave a comment