<Video width = "300" height = "240" controls = "controls">
<Source src = "aa.mp4" type = "audio/mp4"/>
Your browser does not support playback. <! -- Specify the text displayed when the browser does not support it -->
</Video>
Video attributes:
Audio muted: whether to play the sound
Autoplay: Indicates whether autoplay is automatically played.
Src:
Url specifies the Video Source Path
Poster:
Images displayed during video loading by URLs
Preload: none/metadata/auto whether to read video content in advance, or read-only file information, such as file name length, or automatically load
Controls: boolean whether to display the Controller
Loop: boolean indicates whether loop playback is enabled.
Width:
Pixels uses css to define the width
Height:
Pixels uses css to define the height
Type:
Mime-typetype = "video/whem; codecs =" vorbis, vp8 ". If this parameter is not specified, the player automatically selects the parameter based on the video attribute.
Media attribute: This attribute uses css to format the playback output style. Example: media = "screen and (min = width: 800px ;)"
Author: shiyuan17