Friday, August 24, 2007

Windows 2003 Server does not stream FLV videos

I ran into an issue today when working with some video formats for the web, specifically with a shockwave file (.swf). I know very little about video formats, but I regularly get files from clients that need them posted on their website, and it typically is just dropping in some code and that's it. But today I received the files and did some testing locally on my server (localhost) and everything looked fine. So I uploaded them to the production website and the page would load fine but the shockwave video never would play. I messed around with it for quite a while and was running out of options, and fortunately I ran across this article.
After checking the IIS logs, turns out that the .swf file wasn't really the problem, but it was a problem with the .flv file getting streamed behind the scenes. Apparently IIS6 by default wasn't serving up the .flv files, so I had to simply add a MIME Type... and PRESTO... everything is working as expected.