Re: <track> and WebVTT in Opera Next

On Mon, 06 Aug 2012 20:17:40 +0200, Julien VILLETORTE  
<j.villetorte@gmail.com> wrote:

> 2012/8/6 Philip Jägenstedt <philipj@opera.com>
>
>> http://my.opera.com/desktopteam/blog/2012/08/03/summer-core-update
>>
>
>> Our latest Opera Next release includes the work on <track> and WebVTT  
>> that
>> Fredrik, Simon and I have been working on. Note that no UI at all is
>> included yet, but that is obviously coming. Let us know if you find any
>> bugs!
>>
>
> Nice job!

Thanks!

> I found a couple of (maybe known) issues related to WebVTT classes and
> settings.
> Taking this video as an example: http://www.delphiki.com/html5/playr/
> The first cue (see webvtt file:
> http://www.delphiki.com/html5/playr/examples/dw_trailer_low.vtt) does not
> render properly, multiples classes seems to be the problem.

I investigated a bit and it turns out that the problem is position:0%. Per  
spec, that means that the maximum size of the cue should be 0, which is  
really strange. I filed a bug:  
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18501

If you try position:0% line:0 you'll see where the rest of the text ended  
up -- one word per line! The reason that the cue wasn't moved up into the  
viewport is because the cue box has width 0 and it's not really clear if  
that should be considered intersecting the viewport or not :/

> ::cue:past & ::cue:future pseudo-classes don't seem to be supported.

Those have been implemented and tested, can you give an example of  
something that doesn't work?

> Could you list the features implemented?

We've tried to implement everything except vertical text and ruby. There  
are also some deviations from the spec where we've filed spec bugs, and  
the pauseOnExit flag isn't frame-accurate.

> Non-related: I'm not sure I mentionned it on the mailing list, but I made
> this little srt to vtt converter a while back:
> http://atelier.u-sub.net/srt2vtt/

I tried feeding it a file encoded as Latin-1 to see if it would guess or  
ask, but was told that it was not a proper SubRip file. Figuring out the  
correct encoding is an important part of conversion, so it would be nice  
if in this case the user was asked to preview likely encodings and pick  
the correct one.

-- 
Philip Jägenstedt
Core Developer
Opera Software

Received on Wednesday, 8 August 2012 13:42:46 UTC