Solution for failed FLV file running on the server

Source: Internet
Author: User
Tags flv file

I made a flvplayer myself. The local test is normal, but it cannot be performed after being uploaded to the server. At first, we suspected the path problem. However, the video is not played after being uploaded several times. It is a problem of the MIME type of IIS on the server. The following describes the solution.

Microsoft changed the way to process streaming media on Microsoft Internet Information Service (IIS) 6.0 web server, instead of using the processing method in earlier versions. Earlier versions of IIS do not need to modify the Flash video stream. In IIS 2003, the default web server that comes with Windows 6.0, the server needs to identify the FLV file as a streaming media by using the MIME type.

When the SWF file for loading external FLV files by means of streaming media is placed on the Microsoft Windows 2003 Server and viewed in the browser, the SWF file can be correctly played, however, FLV videos cannot be loaded using streaming media. This issue affects all FLV files placed on Windows 2003 servers, including those files created using earlier flash creation tools (Macromedia Flash video kit for Dreamweaver MX 2004. If you test these files on other operating systems, these files can work normally.

Setting method:

. FLV is the video format supported by Flash Media players. However, some servers need to set MIME type ing to support. FLV video formats. Otherwise, the. FLV file that can be played normally locally cannot be displayed as soon as it is uploaded to the server.

To set the MIME type ing, follow these steps:
"Start"> "Control Panel"> "Administrative Tools"> "Internet Information Service (IIS manager)", find your website, right-click "properties"> "HTTP header"> "MIME type"> "new", and enter ". in the "FLV" and "MIME type" boxes, enter "FLV-application/octet-stream" and click "OK. (The "MIME type" is only a description. You do not have to enter "FLV-application/octet-stream". You can also enter anything else)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.