[whatwg] On the subtitle format for HTML5

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

Received on Sunday, 23 May 2010 04:24:20 UTC