W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2008

[whatwg] re-thinking "cue ranges"

From: Philip Jägenstedt <philipj@opera.com>
Date: Tue, 22 Jul 2008 19:51:06 +0700
Message-ID: <1216731066.11903.12.camel@localhost>
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
cases.

-- 
Philip J?genstedt
Opera Software
Received on Tuesday, 22 July 2008 05:51:06 UTC

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