[whatwg] On the subtitle format for HTML5

Chris Double chris.double at double.co.nz
Sun May 23 04:24:20 PDT 2010


2010/5/23 Odin Omdal Hørthe <odin.omdal at gmail.com>:
> Anyway, as of now I'm just waiting for a way to tell my webapp what
> slide we're on (sync with the live streaming video).

Can't you use the timeupdate event, get the 'currentTime' from the
video, and decide what slide to show based on that? Or poll
currentTime in a setTimeout? That's how most of the JavaScript
subtitle examples work with <video> at the moment I think.

Chris.
-- 
http://www.bluishcoder.co.nz


More information about the whatwg mailing list