[whatwg] Fwd: Discussing WebSRT and alternatives/improvements

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