W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2011

[Bug 12530] Make TrackList an Array-like list of Track objects and move get* into those

From: <bugzilla@jessica.w3.org>
Date: Wed, 20 Apr 2011 08:54:32 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QCTBA-0006Ru-Ai@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12530

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-04-20 08:54:32 UTC ---
The current API is a bit odd in that textTracks is an array of TextTrack where
TextTrack has properties like kind/label/language, but audioTracks and
videoTracks is are MultipleTrackList/ExclusiveTrackList where the same data is
retrieved via getLabel and getLanguage getters.

I'm not sure what the motivation for this is, but it seems less confusing for
script authors if the interfaces were more similar, possible sharing a common
interface for what few properties are shared between text, audio and video
tracks.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 20 April 2011 08:54:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:08 UTC