Re: Track "id" format?

The id's for elements are required to be unique, but this isn't specified
for the text track object itself.

The question is how do we identify which track is which when we have a
clash?

On 11/12/13 8:43 AM, "Brendan Long" <B.Long@cablelabs.com> wrote:

>> 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 17:00:27 UTC