- From: <bugzilla@jessica.w3.org>
- Date: Sat, 02 Feb 2013 07:08:40 +0000
- To: public-texttracks@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20853 Bug ID: 20853 Summary: [WebVTT] WebVTT files should have a default language Classification: Unclassified Product: TextTracks CG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: WebVTT Assignee: ian@hixie.ch Reporter: silviapfeiffer1@gmail.com QA Contact: dave.null@w3.org CC: mike@w3.org, public-texttracks@w3.org Depends on: 15922 As discussed in bug 15922 , the :lang() selector used on a WebVTT file's cues that have no <lang> markup can't match anything. This leads back to the need to specify file-level language. One way to fix this is to take the implicit assumption that if the WebVTT file was pulled in via a <track ... @srclang attribute, that @srclang is the default language of the WebVTT file and can be used in :lang() selections, e.g. when all text on a video in a particular language requires specific styling. Providing <lang> markers for every single cue just to set the default language seems overkill. This further leads on to specifying the language of the WebVTT file in the file itself for those applications that don't display the WebVTT file in a browser e.g. as in WEBVTT Language=fr cue id 00:00:00.000 --> 00:00:01.000 bonjour IMO this file-wide metadata field can be ignored by the Web browser, since the Web browser relies on @srclang in <track>. So, this is just a hint for other WebVTT consuming clients. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Saturday, 2 February 2013 07:08:42 UTC