Re: WebVTT pause-on-exit flag

On Wed, 24 Apr 2013 14:30:10 +0200, Joshua Dwire <joshua@sometechie.com>  
wrote:

> Quick introduction (hope this doesn't seem like an ad): I'm the owner of  
> Some Techie, LLC. We're working on a JavaScript media player library to  
> play audio/video in web browsers using HTML5, Flash, etc.  
> (sometechie.com/mediaplayer). We're currently working on implementing  
> cross-browser captioning support, based off of Captionator.
>
>
> While working on supporting the TextTrackCue pause-on-exit property, I  
> noticed that the current WebVTT Draft Report at  
> http://dev.w3.org/html5/webvtt/#dfn-webvtt-cue-settings doesn't support  
> setting the pause-on-exit flag in the WebVTT file. Are there any reasons  
> for not supporting this?
>
> To support this, I propose that we add the something similar to the  
> following text to sub step 2-4 of Parse the WebVTT settings:
>
> If name is a case-sensitive match for "pause-on-exit"
> If value is a case-sensitive match for the string "true", then let cue's  
> text track cue line pause-on-exit flag be true.
> Otherwise, jump to the step labeled next setting.
>
> We would also need add something similar to the following text to the  
> WebVTT cue settings section, consistent with the way boolean HTML  
> attributes are interpreted:
> A WebVTT pause-on-exit cue setting consists of the following components,  
> in the order given:
>
> The string "pause-on-exit".
> A U+003A COLON character (:).
> The string "true".
> NOTE
>
> A WebVTT pause-on-exit cue setting configures whether playback of the  
> media resource is to pause when the cue stops being relevant.
>
> Is there any reason that something like this is not currently in the  
> draft report?

What's the use case?

> Thanks for all of your work on the WebVTT Draft Report. It's been very  
> helpful.
>
> --
> Joshua Dwire
> Chief Technologist
> Some Techie, LLC
> joshua@sometechie.com
>


-- 
Simon Pieters
Opera Software

Received on Wednesday, 24 April 2013 20:38:50 UTC