RE: Track "id" format?

> Interestingly, the spec currently doesn't require the track "id" to be unique:

Oh, and same thing for text:

> The id attribute returns the track's identifier, if it has one, or the empty string
> otherwise. For tracks that correspond to track elements, the track's identifier
> is the value of the element's id attribute, if any. For in-band tracks, the track's
> identifier is specified by the media resource. If the media resource is in a
> format that supports the Media Fragments URI fragment identifier syntax, the
> identifier returned for a particular track must be the same identifier that would
> enable the track if used as the name of a track in the track dimension of such
> a fragment identifier. [MEDIAFRAG]

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

Received on Tuesday, 12 November 2013 15:43:54 UTC