Adding .FLV MIME Type in IIS

I’ve recently started working with Flash a lot more recently and while its proving good fun, I had forgotten how frustrating it can sometimes be. I recently created a flash video player from scratch and while it worked wonderfully on my computer and local server in work, it was flat out refusing to load the [...]

I’ve recently started working with Flash a lot more recently and while its proving good fun, I had forgotten how frustrating it can sometimes be. I recently created a flash video player from scratch and while it worked wonderfully on my computer and local server in work, it was flat out refusing to load the video (.flv) file when I uploaded it to the live site. After much wracking of my brain and some mild/agressive abuse at my monitor (why do we do that, its a machine, it won’t talk back…) I found the solution I was looking for.

The site I was uploading to is built in ASP.net and as a result in running on Windows Server 2003, what I didn’t know was that .flv it isn’t one of the native MIME types on MS servers and as a result has to be set up using the IIS. This is how its done.

1) Select the site to configure in IIS, right click and select “Properties”
2) Under HTTP Headers Tab, select “File Types” under the MIME Map section and select “New Type”
3) Type “.flv” as the associated extension and “video/x-flv” as the content type.
4) Select “OK” and you’re ready to fly!

I was so delighted to work this out I had to share it with you. Hope it helps anyone who’s having the same problem!

p.s. Thanks to Ryan Moore ITToolbox, for helping me find the solution.

Tags: ,

POST A COMMENT

Your email is never published nor shared. Required fields are marked *

*
*

GET IN TOUCH

If you have any enquiries or just want to say hello you can email me at rachearley[at]gmail.com or send me a tweet @rachearley

INSPIRATION

http://jasonsantamaria.com/

TAG CLOUD

WordPress database error Can't find FULLTEXT index matching the column list for query SELECT ID, post_title, post_content,MATCH (post_name, post_content) AGAINST ('adding flv mime type in iis') AS score FROM wp_posts WHERE MATCH (post_name, post_content) AGAINST ('adding flv mime type in iis') AND post_date <= '2010-09-05 11:24:29' AND (post_status IN ( 'publish', 'static' ) && ID != '86') ORDER BY score DESC LIMIT 0,3 made by require, require_once, include, related_posts