Re: [media] Moving forward with captions / subtitles

On Feb 14, 2010, at 10:35 PM, Philip Jägenstedt wrote:

> 
> <trackgroup role="subtitles">
>  <track src="subtitles.en.srt" lang="en">
>  <track src="subtitles.sv.srt" lang="sv">
>  <track src="subtitles.fr.srt" lang="fr">
>  <track src="subtitles.zh.srt" lang="zh">
> </trackgroup>
> <trackgroup role="captions">
>  <track src="captions.en.srt" lang="en">
>  <track src="captions.sv.srt" lang="sv">
>  <track src="captions.fr.srt" lang="fr">
>  <track src="captions.zh.srt" lang="zh">
> </trackgroup>
> 
> role="" isn't what makes the tracks alternative, it's that they are in the same <trackgroup>. If <trackgroup> isn't used then all tracks are in the same implicit group and are mutually exclusive.
> 
  I see that now, though I think it is much less clear ;-)

  "track" has a well defined meaning in the context of media files, as a source of a particular type of media data. This is really what and it is what you are calling "trackgroup" here.

> (I think my previous suggestion of using <track> as the grouping element and <source> for the individual track was quite confusing.)
> 
  Obviously I disagree ;-)

eric

Received on Monday, 15 February 2010 07:15:09 UTC