Monday, May 20, 2013

Flv file is not working on server

If your server is a windows server then you have to set up the MIME settings to play the .flv files, Windows requires setting up the MIME type on the server first (it isn't one of the native MIME types on MS servers).

You can figure out easily if your server is configured to support .flv files by posting a .flv file on a server and navigating to the URL of that .flv in a browser. If you see a LONG string of garbage on the screen, your server isn't set up for .FLVs and needs to have the MIME type set up.

Adding .flv MIME type in IIS

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. OR
•MIME Type box:flv-application/octet-stream

4) Select "OK" and you're set!

Source:- http://www.webdeveloper.com/forum/showthread.php?181088-RESOLVED-Flash-Video-Not-Playing-on-Server