The Wayback Machine - https://web.archive.org/web/20240717024550/https://www.geeksforgeeks.org/html-video-muted-attribute/
Open In App

HTML | <video> muted Attribute

Last Updated : 15 Jul, 2022
Improve
Suggest changes
Post a comment
Like Article
Like
Save
Share
Report

The HTML <video> muted Attribute is used to specify the audio output of the video is muted, it is a Boolean attribute. 

Syntax:

<video muted>

Example: 

html




<!DOCTYPE html>
<html>
 
<head>
    <title>
        HTML Video muted Attribute
    </title>
</head>
 
<body style="text-align:center">
    <h1 style="color:green">
        GeeksforGeeks
        </h1>
    <h2 style="font-family: Impact">
      HTML Video muted Attribute
  </h2>
    <br>
 
    <video id="Test_Video"
           width="360"
           height="240"
           controls muted>
       
        <source src="samplevideo.mp4"
                type="video/mp4">
    </video>
</body>
 
</html>


Output:

  

Supported Browsers: The browsers supported by HTML <video> muted Attribute are listed below:

  • Google Chrome 30 and above
  • Edge 12.0 and above
  • Internet Explorer 10.0 and above
  • Firefox 11.0 and above
  • Apple Safari 5.0 and above
  • Opera 

Previous Article
Next Article

Similar Reads

HTML | DOM Video muted Property
The Video muted property is used for setting or returning whether the audio output of the video should be muted or not. Syntax: For returning the muted property:videoObject.mutedFor setting the muted property:videoObject.muted = true|false Property Values: true|false: It is used to specify whether the audio output of the video should be muted, or n
2 min read
HTML | muted Attribute
The HTML muted Attribute is used to specify the audio output of the video is muted, it is a Boolean attribute.Applicable: &lt;video muted Attribute&gt; Syntax &lt;video muted&gt; Example: C/C++ Code &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt; HTML muted Attribute &lt;/title&gt; &lt;/head&gt; &lt;body style=&quot;text-align: center
1 min read
HTML DOM Audio muted Property
The Audio muted property is used to set or return whether the audio output should be muted or not. Syntax: It returns the muted property.audioObject.mutedIt sets the muted property.audioObject.muted = true|false Property Values: This property accepts values true|false which is used to specify whether the audio output should be muted, or not. By def
2 min read
Primer CSS Muted Link
Primer CSS is a free open-source CSS framework that is built upon systems that create the foundation of the basic style elements such as spacing, typography, and color. This systematic method makes sure our patterns are steady and interoperable with every other. Its approach to CSS is influenced by Object-Oriented CSS principles, functional CSS, an
2 min read
HTML &lt;video&gt; crossorigin Attribute
The HTML crossorigin attribute is used in the &lt;video&gt; element that supports a CORS request when we tried to fetch out the video files from the third-party servers or from another domain. Syntax: &lt;video crossorigin="anonymous | use-credentials"&gt; Attribute Values: anonymous: It has a default value. It defines a CORS request that will be s
1 min read
HTML | &lt;video&gt; height Attribute
The HTML &lt;video&gt; height attribute is used to specify the height of the video player in terms of pixels. Syntax: &lt;video height="pixels"&gt; Attribute Values: It contains single value pixels which specifies the height of the video player in terms of pixels. Below example illustrates the use of height attribute in &lt;video&gt; element: Examp
1 min read
HTML | &lt;video&gt; controls Attribute
The HTML &lt;video&gt; controls Attribute is used to specify the control to play video. It is the Boolean value. This attribute is new in HTML5. The video control should include: PlayPauseVolumeFull-screen ModeSeekingCaptions/Subtitles(if available)Track(if available) Syntax: &lt;video controls&gt; Example: C/C++ Code &amp;lt;!DOCTYPE html&amp;gt;
1 min read
HTML | &lt;video&gt; loop Attribute
The HTML &lt;video&gt; loop Attribute is used to restart the video again and again after finishing it. It contains the Boolean value. This tag is new in HTML5. Syntax: &lt;video loop&gt; Example: C/C++ Code &amp;lt;!DOCTYPE html&amp;gt; &amp;lt;html&amp;gt; &amp;lt;head&amp;gt; &amp;lt;title&amp;gt;HTML video loop Attribute&amp;lt;/title&amp;gt;
1 min read
HTML | &lt;video&gt; src Attribute
The HTML &lt;video&gt; src Attribute is used to specify the URL of the video file. This attribute uses Ogg file on Firefox, Opera and Chrome browsers and MPEG4 file on Internet Explorer and Safari browsers. This attribute is new in HTML5. Syntax: &lt;video src="URL"&gt; Attribute Values: It contains a single value URL which specifies the link of so
1 min read
HTML | &lt;video&gt; poster Attribute
The HTML &lt;video&gt; poster Attribute is used to display the image while video downloading or when user click the play button. If this image not set then it will take the first frame of video as a poster image. Syntax: &lt;video poster="URL"&gt; Attribute Values: It contains a single value URL which specifies the link of source image. There are t
1 min read
three90RightbarBannerImg