HTML video muted property
Examples
Off video sound:
<video controls muted>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
您的浏览器不支持 video 标签。
</video>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
您的浏览器不支持 video 标签。
</video>
try it"
Browser Support
Internet Explorer 10, Firefox, Opera, Chrome, and Safari 6 Support muted property.
Note: Internet Explorer 9 and earlier versions of IE do not support the <video> is muted property.
Definition and Usage
muted property is a boolean (Boolean) property.
muted property sets or returns the audio / video whether it should be mute (turn off the sound).
Differences between HTML 4.01 and HTML5
<Video> tag is the new HTML5 tags.
The difference between HTML and XHTML
In XHTML, the property does not allow short, muted attribute must be defined as <video muted = "muted">.
grammar
<video muted>
HTML <video> tag