TextTrackCue "until the next cue" endTime

My company is working on a spec to translate CEA-708 captions to WebVTT,
and one issue we're running into is it's not always obvious how long a
particular caption should be displayed. This blog post says that there
has been discussion to add a "NEXT" end time for WebVTT, meaning "until
the next cue", which would also be useful for us. I don't remember
seeing this discussed on the mailing list though, so I'm wondering if
you're still planning to add this.

If so, how will it be represented? TextTrackCue.endTime is currently a
"double". One option would be making it nullable and making null mean
"until the next cue". Making endTime a string would make the type more
complicated, but would let us use "NEXT". We had also considered using
infinity, but I suspect null or "NEXT" would be less confusing.

--=-57xwZbfjku60+AJmT/eD
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
My company is working on <A HREF="http://www.cablelabs.com/specification/mapping-from-mpeg-2-transport-to-html5-specification">a spec to translate CEA-708 captions to WebVTT</A>, and one issue we're running into is it's not always obvious how long a particular caption should be displayed. <A HREF="http://gingertech.net/2013/12/18/webvtt-discussions-at-foms/">This blog post</A> says that there has been discussion to add a &quot;NEXT&quot; end time for WebVTT, meaning &quot;until the next cue&quot;, which would also be useful for us. I don't remember seeing this discussed on the mailing list though, so I'm wondering if you're still planning to add this.<BR>
<BR>
If so, how will it be represented? TextTrackCue.endTime is currently a &quot;double&quot;. One option would be making it nullable and making null mean &quot;until the next cue&quot;. Making endTime a string would make the type more complicated, but would let us use &quot;NEXT&quot;. We had also considered using infinity, but I suspect null or &quot;NEXT&quot; would be less confusing.
</BODY>
</HTML>

--=-57xwZbfjku60+AJmT/eD--

Received on Wednesday, 8 January 2014 16:51:31 UTC