- From: Simon Pieters <simonp@opera.com>
- Date: Tue, 25 Jun 2013 10:23:28 +0200
- To: "David Ronca" <dronca@netflix.com>, "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>
- Cc: public-texttracks@w3.org
On Tue, 25 Jun 2013 03:01:32 +0200, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote: > On Tue, Jun 25, 2013 at 10:28 AM, David Ronca <dronca@netflix.com> wrote: >> Consider the TTML cue below (from a real asset with the text changed). >> Note that there is a blank line between the two lines of text. Thus >> the cue: >> >> <p begin="3480002000t" end="3500007000t" style="style0" >> xml:id="subtitle84">First line of text.<br/><br/>Second line of >> text.</p> >> >> Should be rendered: >> >> First line of text >> <Blank Line> >> Second line of text >> >> How would you do this in WebVTT? My only guess might be this: >> >> 84 >> 00:05:48.000 --> 00:05:50.000 >> First line of text. >>   >> Second line of text >> >> Would this work? Is there a 'correct' way for a blank line? > > FAIK this is the right way and it should work. Also, it needs to be > (note the semicolon at the end). wouldn't be an empty line. It would render the space (which is visible if you have a background). You can use a literal space instead (or a tab). The default value of 'white-space' for WebVTT is 'pre-line', which means that line breaks are preserved but other whitespace is collapsed. -- Simon Pieters Opera Software
Received on Tuesday, 25 June 2013 08:21:47 UTC