[Webkit-unassigned] [Bug 79791] New: Setting mode for track element not working

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 28 07:28:27 PST 2012


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

           Summary: Setting mode for track element not working
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dutton at google.com


Created an attachment (id=129249)
 --> (https://bugs.webkit.org/attachment.cgi?id=129249&action=review)
Screenshot showing default rendering of track subtitles, though mode set to TextTrack.HIDDEN

Simple example:

http://html5-demos.appspot.com/static/video/track

Expected behaviour: default subtitles should not be rendered:

var track = video.textTracks[0];
track.mode = TextTrack.HIDDEN;

What actually happens: subtitles rendered over video.

Likewise, in track.js on 

http://www.samdutton.com/track

I attempt to set the mode of the metadata track to 1 (TextTrack.HIDDEN). This is the track used for the text in the right hand box.

Also doesn't work from Chrome Dev Tools. Try the following from the Dev Tools console: 

    document.querySelector("video").textTracks[1].mode = TextTrack.HIDDEN

According to the spec, it should be possible to change the text track mode: http://dev.w3.org/html5/spec/video.html#texttrack.

(BTW: I'm pretty sure setting mode worked OK in Chrome ??18.)

See also http://code.google.com/p/chromium/issues/detail?id=113413

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list