Configure IIS to allow websites to play MP4 files

Source: Internet
Author: User

Recently encountered such a problem, the site of the MP4 can not play-every click on the play will produce 404 of errors (such as). This problem is a bit strange, because the other files on this server can be executed normally, such as XML, JPG, aspx and other files, but only mp4 files can not be obtained from the server normally.

This is due to the fact that this is an IIS protection against files that do not operate in the MIME type specified by IIS.

Solution:

Right-click on the appropriate Web site in IIS, select "Properties", select "HTTP Headers" tab in the Pop-up window, then click "MIME Type", and in the pop-up window, tap "new" and fill in the "MP4" and "application/" in the text box of the extension and MIME type. Octet-stream ", click" OK "to make sure that the changes you have just made take effect.

Configure IIS to allow websites to play MP4 files

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.