How to add MIME types to your server.

Option 1 for adding MIME types- at the Global Level

If you need to add a MIME type for a Web Server that uses IIS6 such Windows 2003 Server, first of all you go to Administrative Tools and choose Internet Information Services (IIS 6.0). Once you get in the IIS Window you can add your mime type by selecting the local computer and choosing the Action pull-down menu and selecting Properties.


MIME types

The next step is adding your MIME type by clicking the MIME types button.



When you get to the MIME types dialog you can add your MIME type by adding the format extension and the MIME type. For example, for Flash Video it would be .FLV for the extension and video/x-flv for the MIME type.

Option 2 for Adding MIME types - At the Web Directory level

If you need to add a MIME type for a Web Server that uses IIS such Windows 2003 Server. You go to Administrative Tools and choose Internet Information Services (IIS).



Select the Web Sites Folder in the IIS Manager and choose the Action Pull-down menu and select Properties.



Click the HTTP Headers Tab and go in and select the MIME Types button on the bottom of the dialog.




Now you can add you MIME type. Use the same process you used for adding a MIME at the Global level.

Option 3 for adding MIME types - At the Website Level in IIS7

If you need to add a MIME type for a Web Server that uses IIS7 such Windows 2008 (R2) Server, first of all you should go to Administrative Tools and choose Internet Information Services (IIS) Manager

 

Click on "MIME Types" IIS Feature.

Right mouse button click - > Add

Type in the opened window the following:

File name extension: .mp4
MIME type: video/mp4

OK.

Right mouse button click - > Add

Type in the opened window the following:

File name extension: .webm
MIME type: video/webm

OK.

Now you can play your .mp4 and .webm videos on the website.

P.S. FLV video format is added to IIS7 by default. In any case the file name extension should be .flv and MIME type: flv-application/octet-stream