html5 video player parameters

autoplay: If present, the video will play as soon as it is ready.

controls: If present, controls are displayed to the user, such as a play button.

loop: If this attribute is present, playback starts again when the media file finishes playing.

muted: Specifies that the audio output of the video should be muted.

poster: The image displayed while the video is downloading, or before the user clicks the play button.

preload: If this attribute is present, the video is loaded when the page loads and is ready to play. This attribute is ignored if "autoplay" is used.

src: URL of the video.

width: Set the width of the video player.

height: Set the height of the video player.

My Popular Article Recommendations

Guess you like

Origin blog.csdn.net/suny2020/article/details/129519391