Re: Displaying multiple lines in WebVTT

On Mon, 30 Apr 2012 02:46:12 +0200, Silvia Pfeiffer  
<silviapfeiffer1@gmail.com> wrote:

> On Sat, Apr 28, 2012 at 1:26 AM, Ian Hickson <ian@hixie.ch> wrote:
>> On Thu, 26 Apr 2012, Glenn Maynard wrote:
>>> On Thu, Apr 26, 2012 at 5:54 PM, Ian Hickson <ian@hixie.ch> wrote:
>>> >
>>> > The specific example above is a single bitmap from a DVD caption
>>> > track. (First hit on Google for that cue's text identifies the source
>>> > correctly. It happened to be what I had playing -- with captions
>>> > enabled, coincidentally -- when I replied to the earlier e-mail.)
>>>
>>> (Bitmap DVD captions, from what I vaguely recall--it's been a decade or
>>> so since I wrote a decoder for them--only *support* showing a single
>>> bitmap at a time.  This has no connection to how things should be
>>> authored in VTT.)
>>
>> I disagree about how captions should be authored. I understand that this
>> would lead us to different conclusions about how the format should be
>> designed. Not sure what to do about that.
>
>
> One advantage that an explicit newline element would bring is: we can
> have empty lines in a cue without changing the general WebVTT parser.
>
> For example:
>
> 00:00:00:00 -> 00:00:03:00
> - You ready, Corporal?<br>
> <br>
> - Yes, ma'am.
>
> This is something that is currently not possible.

I've never seen captions with blank lines in them like the above, do we  
really want them? It seems like it's really line height you want to change.

In any event, blank lines are already possible by including an &nbsp; or  
other whitespace character on a line.

Using <br> has some short-term benefits, but I tend to think that actual  
newlines will make more sense in the long term for a strongly  
line-oriented format...

-- 
Philip Jägenstedt
Core Developer
Opera Software

Received on Monday, 30 April 2012 09:04:16 UTC