In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of how to automatically play mov format video in html5, the content is detailed and easy to understand, the operation is simple and fast, and it has a certain reference value. I believe you will have something to gain after reading this html5 article on how to automatically play mov format video. Let's take a look.
1. First of all, the website should support .MOV format files
That is to say, the website should be able to recognize .MOV format files.
How to identify it? Sets the MIME type. Take IIS as an example. In addition to being able to set it directly on the IIS interface, it can also be set in the web.config of the project. Give me a complete example.
2 、 HTML
Body,center {padding:0;margin:0;} your browser does not support HTML5 video tags.
This example will be played automatically. The key to autoplay is the "muted" attribute (mute), otherwise either declaring autoplay= "autoplay" or using the script video.play () will not work. This is supposed to be deliberately designed like this. Otherwise, open it and play it automatically. what if it's a love action movie? If you mute, you will have a lot less worry.
This is the end of the article on "how to automatically play video in mov format in html5". Thank you for reading! I believe that everyone has a certain understanding of "how to automatically play mov format video in html5". If you want to learn more, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.