Created
August 12, 2015 20:30
-
-
Save gkatsev/8e7e22f7c37dbc708c63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps to reproduce the problem: | |
1. create a page with a video element | |
2. include a subtitle or caption track | |
3. make sure that the track from above is not marked as `default` | |
What is the expected behavior? | |
the subtitles or captions should show up only if they are marked as default, or if the user selects them. | |
What is the actual behavior? | |
If the user has not previously selected any captions, the first caption in the caption list shows up, regardless or whether that track is in the user locale's or whether the default audio is in the user's locale or not. | |
The spec (https://html.spec.whatwg.org/multipage/embedded-content.html#attr-track-default) for the `default` attribute on track elements implies that tracks should only be enabled if a user preference overrides the attribute or if the attribute is present. | |
I have a sample test page available here https://output.jsbin.com/kumefu/4. | |
Also, this was brought up as an issue against Chrome and was recently fixed. Relevant chromium bug: https://code.google.com/p/chromium/issues/detail?can=2&start=0&num=100&q=captions%20showing&colspec=ID%20Pri%20M%20Week%20ReleaseBlock%20Cr%20Status%20Owner%20Summary%20OS%20Modified&groupby=&sort=&id=388588 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment