[whatwg] ambiguity in timed tracks API part of spec?
brucel at opera.com
Fri Nov 5 02:29:00 PDT 2010
says to create TimedTrack objects etc for in-band tracks which are then
exposed in the API - so captions/ subtitles etc that are contained in the
media container file are exposed, as well as those tracks pointed to by
the <track> element.
implies that the array is only of tracks in the track element:
"media . tracks . length
Returns the number of timed tracks associated with the media element
(e.g. from track elements). This is the number of timed tracks in the
media element's list of timed tracks."
Suggestion: amend to say "Returns the number of timed tracks associated
with the media element (e.g. from track elements and any in-band track
files inside the media container file)" or some such.
Hang loose and stay groovy,
Buy my HTML5 book www.introducinghtml5.com
More information about the whatwg