Reading A .FLV File From Flash – Not Working Because Of Missing MIME Type

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, October 19, 2008

Follow me on Twitter as @mattiasgeniar

By default, reading a .FLV file from another flash-file doesn’t work because the MIME-type of the .FLV file is missing. You need to explicitly define this (ie: in IIS) to allow these files to be interpreted as flash-files.

You can do so by logging into the IIS Manager, and right-clicking the particular website. Select Properties.

At the tab “HTTP Headers", at the bottom, there is an option to define “File Types". Add a new MIME type, and define it as “flv” extension and “video/x-flv” as content type.

Save it, and you’re good to go.



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.