[Bug 13544] Video: <track> element should allow support of more than one format without content sniffing

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13544

--- Comment #4 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> 2011-08-03 08:30:34 UTC ---
(In reply to comment #2)
> The author should be able to specify a default track per track file type.
> http://dev.w3.org/html5/spec/Overview.html#dom-track-default
> 
> The author might have the same content published in (for example) .ttml and
> .vtt, and may want to set a default in case two user agents don't suppot the
> same track file types.
> 
> Also, setting the type on the track itself seems simpler:
> 
> <video src="v.mp4">
>  <track kind=captions src=v.en.ttml srclang=en label="English" default>
>  <track kind=captions src=v.de.ttml srclang=de label="German">
>  <track kind=captions src=v.en.vtt srclang=en label="English" default>
>  <track kind=captions src=v.de.vtt srclang=de label="German">
> </video>

Hmm, if the ttml and vtt english caption tracks are alternatives with
essentially the same content, there should only ever one be chosen between
them. So, putting them in a <source> would make more sense, don't you think?

Also, there can only be a single @default attribute - it would be very
confusing to have several. Which one would a browser choose if it supports all
of the formats?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 3 August 2011 08:30:36 UTC