[whatwg] re-thinking "cue ranges"

Philip Jägenstedt philipj at opera.com
Tue Jul 22 05:51:06 PDT 2008

On Tue, 2008-07-22 at 09:58 +0000, Ian Hickson wrote:
> On Wed, 9 Jul 2008, Dave Singer wrote:
> On Sat, 12 Jul 2008, Philip Jgenstedt wrote:
> > 
> > Like Dave, I am not terribly enthusiastic about the current cue ranges 
> > spec, which strikes me adding a fair amount of complexity and yet 
> > doesn't solve the basic use case in straightforward manner.
> What are the use cases you think are basic? It's unclear to me what isn't 
> being solved. Here's one use case, a slide deck:

The most obvious use case in my mind is displaying captions/subtitles.

> > I agree that proper events make a lot of sense here instead of 
> > callbacks. We could use some new event -- CueEvent maybe -- which would 
> > actually include the start and stop times and a reference to the target 
> > HTMLMediaElement. I might suggest a modified addCueRange which takes a 
> > data argument which is also passed along in the event object.
> Does the identifier argument address this sufficiently?

Yes, it makes sense and should eliminate the need for closures in most

Philip Jägenstedt
Opera Software

More information about the whatwg mailing list