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!