This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14291 - <track> example: brave.en.vtt for both subtitles and captions?
Summary: <track> example: brave.en.vtt for both subtitles and captions?
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 12:29 UTC by contributor
Modified: 2011-10-02 16:59 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2011-09-26 12:29:51 UTC
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
Comment 1 Philip Jägenstedt 2011-09-26 12:32:22 UTC
<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.)
Comment 2 Silvia Pfeiffer 2011-09-26 13:11:31 UTC
(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?
Comment 3 Philip Jägenstedt 2011-09-26 13:16:44 UTC
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.
Comment 4 Silvia Pfeiffer 2011-09-26 13:19:29 UTC
(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).
Comment 5 Philip Jägenstedt 2011-09-26 13:29:40 UTC
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.
Comment 6 Ian 'Hixie' Hickson 2011-10-02 16:58:06 UTC
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.
Comment 7 contributor 2011-10-02 16:59:26 UTC
Checked in as WHATWG revision r6614.
Check-in comment: confusing example
http://html5.org/tools/web-apps-tracker?from=6613&to=6614