[whatwg] Fwd: Discussing WebSRT and alternatives/improvements

Chris Double chris.double at double.co.nz
Wed Aug 25 17:20:25 PDT 2010


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



More information about the whatwg mailing list