What if the video files in flv/MP4 and other formats on the website cannot be played out?
Editor to share with you what to do if the video files in flv/MP4 and other formats on the website are not played out, I believe most people don't know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.
When working on a website, it is found that video files, such as flv,MP4 format, can be played normally locally, but not when uploaded to the development machine. The file address of the player is correct, but there has been no response.
After a long time of experiment, it is found that the problem lies in the setting of iis. Iis does not allow video files to be played by default. The solution is as follows:
Open the IIS manager on the server, find the corresponding website under "website" under the server, and right-click the properties.
(you can also directly right-click the [default site] point properties)
Click the HTTP header tab after opening the property settings window, and click the MIME Type button below it.
Create a new MIME type with the extension: .flv MIME type: flv-application/octet-stream
The above is all the contents of this article "what to do if the video files in flv/MP4 format on the website cannot be played out". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!