Re: two different alignments within the same cue

On Thu, 23 Jun 2016 22:29:42 +0200, Bradley Botkin  
<bradley_botkin@wgbh.org> wrote:

> Sorry if my understanding is lacking.  The following sample wants to  
> create a single cue with three lines, one left aligned and the other  
> right aligned.  This is a very common captioning style.  Does WebVTT  
> allow for it?  The “position” tag can be used at the CUE level, but I’m  
> talking about at the line level.:
>
>
> 4
> 00:00:09.530 --> 00:00:12.600
> <left>this is left aligned</left>
>                 <center>this is center aligned</center>
>                                              <right>this is right  
> aligned</right>
>
>
> Is there any way to describe it in WebVTT, short of breaking it into  
> three CUEs with identical times and different positions?  Simulaneous  
> lines with left and right alignment are much more common than bold and  
> italic in caption authoring, and those have simple tags in WebVTT.   
> Perhaps adding simple tags for them, as above, would be advisable.  The  
> region could be created such that the edges are positioned reasonably  
> and the rest is simple to render, with very straight forward css  
> handling.

Hello Brad,

No, you need three cues:

00:00:09.530 --> 00:00:12.600 align:left line:-3
this is left aligned

00:00:09.530 --> 00:00:12.600 align:center line:-2
this is center aligned

00:00:09.530 --> 00:00:12.600 align:right line:-1
this is right aligned

Can you clarify why this is not sufficient?

cheers
-- 
Simon Pieters
Opera Software

Received on Monday, 27 June 2016 19:38:03 UTC