navigator.mimeTypes[i] navigator.mimeTypes["name"] navigator.mimeTypes.length
A reference to the Plugin object that supports this MIME type, or null, if no installed and enabled plug-in supports it.
A read-only string that specifies a comma-separated list of the common filename extensions associated with this MIME type.
A read-only string that indicates the name of the MIME datatype, such as "text/html" or "video/mpeg".
The MimeType object represents a MIME type (i.e., a data format) supported by the browser. The format may be supported directly by the browser, or may be supported through an external "helper application," or a plug-in for embedded data.
The navigator.mimeTypes array may be indexed numerically, or with the name of the desired MIME type (which is the value of the type property). In order to check which MIME types are supported by the browser, you can loop through each element in the array numerically. Or, if you just want to check whether a specific type is supported, you can write code like the following:
var show_movie = (navigator.mimeTypes["video/mpeg"] != null);