Video element of HTML5

Time:2021-6-10

attribute value explain
src url The URL to play the video
controls controls Add controls such as play, pause and volume

 

 

 

 

 

Your browser does not support video tags

play() When playing the media, the value of the used property is automatically changed to false
pause() When the media is suspended, the value of the paused property is automatically changed to true

 

 

 

 

  

play

suspend

Volume+

Volume-

 Mute

取消Mute