Streaming Flash movies on IIS6 | Rickard Andersson

Streaming Flash movies on IIS6

I’ve been struggling on and off with streaming a Flash video file (.flv) from within a Flash Player movie (.swf) on certain webservers. Took me a while before I realized the servers that were causing problems were all running Windows Server 2003 (and thus IIS6). When I realized IIS6 was the culprit, the solution was relatively easy to find. Have a look at the technote Windows 2003 Server does not stream FLV videos on Adobe’s website. For those of you who would rather stay away from that website, here’s the short story:

With IIS 6.0, Microsoft changed the way streaming media is handled. Previous versions of IIS did not require any modification to stream Flash Video. Microsoft IIS 6.0, the default web server that ships with Windows 2003, requires a MIME type to recognize that FLV files are streamed media.

So, in order to get streaming to work, you need to add a custom MIME type in the Internet Information Services Manager. Just add a MIME type for the .flv extension with a value of flv-application/octet-stream. Voila!


  1. Stephen
    Posted March 1, 2007 at 03:20 | Permalink

    Thank you, this was very helpful and worked perfectly.

  2. Alex
    Posted April 17, 2007 at 14:56 | Permalink

    No Voila, it doesn’t work to me… any solution from Microsoft found?????

  3. Posted April 17, 2007 at 15:26 | Permalink

    I don’t know. They must be aware of it.

    Try restarting IIS if you haven’t already.

  4. Hal
    Posted October 4, 2007 at 14:50 | Permalink

    Worked like a charm! Thank you.

  5. Newbie
    Posted October 11, 2007 at 10:01 | Permalink

    Thank you for posting this useful info!

  6. Brien
    Posted March 3, 2008 at 03:16 | Permalink

    Thanks for the post! Worked perfectly and made my wife happy. Can’t ask for anything more.

  7. Axel
    Posted July 16, 2008 at 19:05 | Permalink

    That was really fast and helpful,
    thx for posting this

  8. MJ
    Posted July 27, 2008 at 15:11 | Permalink

    After adding the MIME for .flv I can still only see wmv files on my server (using Media Server) and not FLV

  9. Posted July 30, 2008 at 15:52 | Permalink

    You will need to restart the web publishing service
    (open admin tools, services, world wide web publishing service)

  10. Posted March 17, 2009 at 13:24 | Permalink


    In Event Viewer, returnet error from iis6 that “Cannot load tyoe FLVStreaming in web.config line xxx”

    flvstreaming.cs file is in app_code folder.
    all settings are done
    video.flv file is under my site root folder…

    how can i fix this?

    thank you

  11. Posted March 17, 2009 at 13:51 | Permalink

    What’s on that particular line in your web.config?

  12. Sunny
    Posted April 30, 2009 at 20:35 | Permalink

    I have added the required mime type to my server. Have also restarted IIS several times and have manually restarted the Web publishing service. However flv and mp4 files will still not show through the .swf player that have on my page. Works beautifully on my development machine which is XP pro.

  13. Mani
    Posted July 7, 2009 at 01:07 | Permalink

    Works beautifully. thank you very much.

  14. Fethry
    Posted October 5, 2009 at 14:53 | Permalink

    If you are like me and you have tried anything without success then try this.
    For the particular folder, virtual folder or site add:

    Extension: .*
    Mime Type: application/octet-stream

  15. Lee Barker
    Posted July 20, 2011 at 17:51 | Permalink

    Thank you very much for this. This really has saved my day.

Post a Comment

Comments are moderated. Your email is never published nor shared.