W3C home > Mailing lists > Public > public-html-a11y@w3.org > September 2012

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 08 Sep 2012 09:49:13 +0000
Message-Id: <E1TAHf7-0006lJ-NE@jessica.w3.org>
To: public-html-a11y@w3.org

--- Comment #66 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> 2012-09-08 09:49:12 UTC ---
(In reply to comment #65)
> If all the page generator (human author or otherwise) has is the URL to the
> content then how will it know the type of content?

That's what mime types are for.

> > If the author doesn't know the media type/can't find out through probing, why
> > would the browser get it right?
> The browser has access to the content-type when it tries to play the content,
> right?

The JS developer has that access, too, via the getResponseHeader() function,
see http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader-method .

Is that sufficient or do you have a use case beyond this?

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 Saturday, 8 September 2012 09:49:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:30 UTC