Re: [media] Moving forward with captions / subtitles

On Wed, 17 Feb 2010 15:10:06 +0800, Silvia Pfeiffer  
<silviapfeiffer1@gmail.com> wrote:

> Maybe we have converged?

Yes, and for the record this is what I think we agree on:

<track> is used to reference an external text track.

<trackgroup> is used to group several tracks which are mutually exclusive.  
Often they will have the same role="", but this isn't necessarily so.

Your example with active changed to enabled:

<video src="video.ogv">
   <track src="cc.en.srt" srclang="en" role="CC" enabled>
   <track src="tad.en.srt" srclang="en" role="TAD">
   <trackgroup role="SUB">
     <track src="subs.de.srt" srclang="de">
     <track src="subs.sv.srt" srclang="sv">
     <track src="subs.jp.srt" srclang="jp">
   </trackgroup>
</video>

<track> is a void element (no end tag), if there any reason to think that  
it would ever need child elements then now is the time to give it an end  
tag.

-- 
Philip Jägenstedt
Core Developer
Opera Software

Received on Wednesday, 17 February 2010 08:00:47 UTC