Why cannot I play an mp4 video embedded in html? _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
I just added a player to the page. The buttons didn't work. I don't know where the problem occurred. It was very depressing. So I collected the information and shared it with you, I hope this code can be used in my test.html to help you. You can use an absolute path such as c: \ test.html to access the video. However, you cannot play the video by accessing http: // localhost/test.html, I just added a player to the page, and the buttons didn't work. I don't know where the problem was. But I guess it should have little to do with the code, the Code is as follows:

The Code is as follows:












After checking, it is found that there is really no relationship with the Code. The specific reason is that there is no MP4 ing in IIS. The solution is as follows:

Win7:
Control Panel-view method (upper right corner)-small icon-management tool-Internet plugin, MIME type: Video/mp4 or application/octet-stream, this is OK, that's all you need to do!

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.