[Webkit-unassigned] [Bug 147951] New: captions tracks showing by default

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 13:35:47 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=147951

            Bug ID: 147951
           Summary: captions tracks showing by default
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at gkatsev.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150812/93082de7/attachment.html>


More information about the webkit-unassigned mailing list