- From: <bugzilla@jessica.w3.org>
- Date: Wed, 03 Aug 2011 08:44:24 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13544 --- Comment #6 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> 2011-08-03 08:44:24 UTC --- (In reply to comment #4) > (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? Should have added: this is the way in which I would specify your example: <video src="v.mp4"> <track kind=captions srclang=en label="English" default> <source src=v.en.ttml type="text/ttml"> <source src=v.en.vtt type="text/vtt"> </track> <track kind=captions srclang=de label="German"> <source src=v.de.ttml type="text/ttml"> <source src=v.de.vtt type="text/vtt"> </track> </video> -- 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:44:26 UTC