[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 #61 from Bob Lund <b.lund@cablelabs.com> 2012-08-27 20:21:46 UTC ---
(In reply to comment #59)
> Wouldn't the page know what the format was? After all, it was the one that gave
> the URL.

I assume this is a reply t o comment #56.

In the case where the URL is specified in the video element, the page author
would need to use different versions of the JS dispatch function depending on
the media type of the content pointed to by the URL. Will the author always be
able to make this association? What about in a dynamically created page where
the only piece of information about the content is the URL?

Also, wouldn't this be a source of errors? The metadata available to the page
author might be wrong, saying that a piece of content is Ogg when in fact it is
WebM. A UA that supports both will play the content but the wrong dispatch
function will be used.

Having the UA set the type as proposed would address the above use cases.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 27 August 2012 20:21:49 UTC