video(HTML)
<video>: The Video Embed element - HTML: HyperText Markup Language | MDN
video
autoplay
Autoplay guide for media and Web Audio APIs - Web media technologies | MDN
As a general rule, you can assume that media will be allowed to autoplay only if at least one of the following is true:
1. The audio is muted or its volume is set to 0
2. The user has interacted with the site
by clicking, tapping, pressing keys, etc.
UserActivation - Web APIs | MDN
https://html.spec.whatwg.org/multipage/interaction.html#the-useractivation-interface
The User Activation API | WebKit
3. If the site has been allowlisted
either automatically if the browser determines that the user engages with media frequently
or manually through preferences or other user interface features
4. If the autoplay Permissions Policy is used to grant autoplay support to an <iframe> and its document
<video src="movie.mp4" loop autoplay muted playsinline></video>
Web Autoplay 的限制 | Peng Jie's Blog
Implementing audio and video autoplay unlocking
HTML元素