[Webkit-unassigned] [Bug 124785] New: Add getTrackById() for TextTrackList, AudioTrackList and VideoTrackList

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 22 11:38:21 PST 2013


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

           Summary: Add getTrackById() for TextTrackList, AudioTrackList
                    and VideoTrackList
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: b.long at cablelabs.com


> The getTrackById(id) method must return the first TextTrack in the TextTrackList object whose id IDL attribute would return a value equal to the value of the id argument. When no tracks match the given argument, the method must return null.

http://www.w3.org/TR/html5/embedded-content-0.html#dom-texttracklist-gettrackbyid

> The AudioTrackList.getTrackById(id) and VideoTrackList.getTrackById(id) methods must return the first AudioTrack or VideoTrack object (respectively) in the AudioTrackList or VideoTrackList object (respectively) whose identifier is equal to the value of the id argument (in the natural order of the list, as defined above). When no tracks match the given argument, the methods must return null.

The getTrackById(id) method must return the first TextTrack in the TextTrackList object whose id IDL attribute would return a value equal to the value of the id argument. When no tracks match the given argument, the method must return null.

-- 
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