I'm having some issues getting JW Player to display my video on I.E 9, and from my research it seems like my file may have the wrong MIME type which could be causing this issue. How can I find out what MIME type my file is, and whether or not this is causing my problem? And is it easy to change a MIME type?
2 Community Answers
MisterNeutron
Best Answer
The file itself doesn't have a MIME type. The MIME type is part of the http header that the server provides when it serves the file, telling the browser what kind of file it is.
The developer tools in most browsers will show you what MIME type the server is placing on the file. In Chrome for example, pull up this page: http://misterneutron.com/JW6video/. Before you click the Play button, hit F12, and choose the "Network" tab. Stop the playing after a few seconds, and look at the list of files in the developer console. Find the listing for the wildlife.mp4 file, and look at the "Type" column - you'll see "video/mp4," indicating that the server is telling the browser that this is a video/mp4 file.
If your server is not providing the correct MIME type, your server administrator needs to fix this. If you can edit your own .htaccess file on the server, you can add this line:
AddType video/mp4 .mp4
But it really would be best if the server administrator corrected the error in the server configuration.
The file itself doesn't have a MIME type. The MIME type is part of the http header that the server provides when it serves the file, telling the browser what kind of file it is.
The developer tools in most browsers will show you what MIME type the server is placing on the file. In Chrome for example, pull up this page: http://misterneutron.com/JW6video/. Before you click the Play button, hit F12, and choose the "Network" tab. Stop the playing after a few seconds, and look at the list of files in the developer console. Find the listing for the wildlife.mp4 file, and look at the "Type" column - you'll see "video/mp4," indicating that the server is telling the browser that this is a video/mp4 file.
If your server is not providing the correct MIME type, your server administrator needs to fix this. If you can edit your own .htaccess file on the server, you can add this line:
AddType video/mp4 .mp4
But it really would be best if the server administrator corrected the error in the server configuration.