W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] On the subtitle format for HTML5

From: Chris Double <chris.double@double.co.nz>
Date: Sun, 23 May 2010 23:24:20 +1200
Message-ID: <AANLkTik19t9Gynw0G5wlEpwf1A1sggg8DEJ0bom_9CMe@mail.gmail.com>
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.

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC