There are various reasons why Flv files cannot be played. Recently, I encountered the problem that "Flv files can be displayed locally but cannot be played when uploaded to the server." The solution process is as follows:
The first thing is to check whether the FLV related file upload in the web page is missing.
Because Dreamweaver will automatically generate multiple SWF files and JS files in the SCRIPT folder when inserting a Flv video file into a web page. So we must ensure that all these files are uploaded and the relevant paths are correct.
Secondly, after confirming that all files were uploaded correctly, the FLV video still cannot be played. If possible, upload all the files to another server space. If they can be displayed normally on that space, it may mean that the server that cannot be played is the WIN2003 server. Since the 2003 system does not define the mime-type of .FLV , ADOBE official also gave corresponding solutions.
However, I tested the method of obtaining through search and still encountered problems. For example, there is a plan like this:
1. On the 2003 server, find the IIS manager.
2. Expand the local server name, right-click and select Properties. On the Internet Information Services tab, click the Edit button under Computer MIME Mapping at the bottom.
3. Click the "New Type" button, add ".FLV" to the extension, and "flv-application/octet-stream" to the content type (MIME).
4. Click OK
5. Restart the www service.
After restarting IIS through this solution, the newly created FLV MIME type is no longer available. All tried the following methods:
Open the local computer under IIS, right-click the website, select Properties, and open the MIME type of the HTTP header.
Create a new extension ".FLV", and the MIME type value is "flv-application/octet-stream".
The application can realize the function of playing FLV on web pages under WIN2003.