W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Fwd: Discussing WebSRT and alternatives/improvements

From: Chris Double <chris.double@double.co.nz>
Date: Thu, 26 Aug 2010 12:20:25 +1200
Message-ID: <AANLkTi=04zS3YU7=VtsE+9c=CgrPY8KV1mbMXGoUx_Py@mail.gmail.com>
On Thu, Aug 26, 2010 at 2:39 AM, Philip J?genstedt <philipj at opera.com> wrote:
> It's actually easier for a browser to ignore the MIME type than it is to be
> strict about it, at least when the format is easily identified by sniffing
> (sniffing code is needed anyway for local files).

Firefox (in the case of video) uses file extensions to identify video
files. We have an internal maping of file extensions to mime types. We
don't sniff the content. I imagine we'd do the same with whatever file
extension is used for WebSRT.

Chris.
-- 
http://www.bluishcoder.co.nz
Received on Wednesday, 25 August 2010 17:20:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC