Video files in flv/mp4 formats such as Web sites are not playable and have a relationship to MIME types

Source: Internet
Author: User
Tags iis

In doing a website, found that video files, such as the Flv,mp4 format can be played locally, but reached the development of the machine, it is not. The player's file address is right, or has not been responding.

After a long experiment, the problem was found to be set with IIS. IIS does not allow video files to be played by default, and the solution is as follows:

Open the IIS Manager on the server, locate the corresponding Web site under the server [Web site], right-click the attribute,

(You can also directly right-click the [Default Web site] Point property)

When you open the Properties Settings window, click the HTTP Headers tab and click the MIME Type button below.

Creates a new MIME type with the extension:. flv MIME Type: Flv-application/octet-stream

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.