[Bug 13359] <track> A way is needed to identify the type of data in a track element

https://www.w3.org/Bugs/Public/show_bug.cgi?id=13359

--- Comment #35 from Bob Lund <b.lund@cablelabs.com> 2011-12-14 15:34:27 UTC ---
(In reply to comment #34)
> > There isn't a @title in either the HTMLTrackElement or TextTrack interface;
> 
> Every HTML element has a title attribute - it's a global attribute, see
> http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#the-title-attribute
> .
> 
> > the
> > new string proposed in Comment 26 would suffice. Then, as you suggest:
> > @kind='metadata', @label=Ogg name. I still think it would be valuable to put
> > the Ogg title into the new string so @new_string=Ogg content_type + role +
> > title, The reason I think Ogg title is important is that it provides a way to
> > further differentiate the type of metadata content beyond the more generic
> > role.
> 
> Ogg's "title" field is a free form string, human readable. So it probably
> better matches what @label should have. Ogg's "name" field is machine readable.
> So it's likely more useful in your new field.

It wasn't entirely clear to me which of the title or name field to use; I think
we should go with your advice. So @new_string = Ogg content_type + role + name.

-- 
Configure bugmail: https://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, 14 December 2011 15:34:43 UTC