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)