Definitions
Sorry, no definitions found. Check out and contribute to the discussion of this word!
Etymologies
Sorry, no etymologies found.
Support

Help support Wordnik (and make this page ad-free) by adopting the word timeupdate.
Examples
-
Alternatively to using the “timeupdate” event that is provided by the tag, there is always the possibility of using the javascript “setTimeout” or “setInterval” functions:
-
It is possible to achieve this effect simply through adding a timeupdate event listener, but proper callbacks like these are much more efficient.
-
Also, the BBC found in experiments with Firefox that “timeupdate” is more accurate than polling the “currentTime” regularly.
ginger's thoughts » Jumping to time offsets in HTML5 video 2009
-
It is possible to achieve this effect simply through adding a timeupdate event listener, but proper callbacks like these are much more efficient.
ginger's thoughts » New proposal for captions and other timed text for HTML5 2009
-
Also, the BBC found in experiments with Firefox that “timeupdate” is more accurate than polling the “currentTime” regularly.
-
Note that for subtitles it makes a lot more sense to use the existing “timeupdate” event of the video rather than creating a frequenty setInterval interrupt, since this will continue calling the function until clearInterval is called or the window is closed.
ginger's thoughts » Jumping to time offsets in HTML5 video 2009
-
Further, if you want to stop playback at a certain time point, you can use another functionality of the HTML5 tag: the “timeupdate” event:
ginger's thoughts » Jumping to time offsets in HTML5 video 2009
-
Alternatively to using the “timeupdate” event that is provided by the tag, there is always the possibility of using the javascript “setTimeout” or “setInterval” functions:
ginger's thoughts » Jumping to time offsets in HTML5 video 2009
-
When the “timeupdate” event fires, which is supposed to happen at a min resolution of 250ms, you can catch the end of your desired interval fairly accurately.
ginger's thoughts » Jumping to time offsets in HTML5 video 2009
-
Callbacks on timed text segments It is possible to achieve this effect simply through adding a timeupdate event listener, but proper callbacks like these are much more efficient.
ginger's thoughts » New proposal for captions and other timed text for HTML5 2009
Comments
Log in or sign up to get involved in the conversation. It's quick and easy.