This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html Multipage: http://www.whatwg.org/C#the-track-element Complete: http://www.whatwg.org/c#the-track-element Comment: <track> example: brave.en.vtt for both subtitles and captions? Posted from: 83.218.67.122 by philipj@opera.com User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.9.205 Version/12.00
<video src="brave.webm"> <track kind=subtitles src=brave.en.vtt srclang=en label="English"> <track kind=captions src=brave.en.vtt srclang=en label="English for the Hard of Hearing"> <track kind=subtitles src=brave.fr.vtt srclang=fr lang=fr label="Français"> <track kind=subtitles src=brave.de.vtt srclang=de lang=de label="Deutsch"> </video> Unless JavaScript is involved, the same file cannot be both subtitles and captions. (I assume brave.webm actually has audio that needs special captions for the HoH.)
(In reply to comment #1) > Unless JavaScript is involved, the same file cannot be both subtitles and > captions. Why not? Images can be included multiple times on a Web page. Why shouldn't WebVTT files?
Subtitles are for "when the sound is available" while captions are for "when the soundtrack is unavailable". In other words, they are mutually exclusive -- the same file can't both have the HoH captions and not have them.
(In reply to comment #3) > Subtitles are for "when the sound is available" while captions are for "when > the soundtrack is unavailable". In other words, they are mutually exclusive -- > the same file can't both have the HoH captions and not have them. Maybe that wording is unfortunate. A file can have captions even when it has a sound track - captions are typically for people who can't hear that sound track (because they are deaf or the noise is too loud or the sound is turned off).
I says "unavailable", not "has". In any case, this is just an editorial oversight, change the captions to brave.en.hoh.vtt and this bug will be resolved. If there are problems with the definitions, let's discuss it in another bug.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: see diff given below Rationale: Concurred with reporter's comments.
Checked in as WHATWG revision r6614. Check-in comment: confusing example http://html5.org/tools/web-apps-tracker?from=6613&to=6614