Dofactory.com
Dofactory.com

HTML <video> muted Attribute

The muted attribute on a <video> element mutes (silences) the video.

The video file can be played, but without sound.

Example

#

A muted attribute on a <video> element.
The video can be played, but without sound.

<video width="320" height="240" controls muted>
  <source src="/media/movie.mp4" type="video/mp4">
  <source src="/media/movie.ogg" type="video/ogg">
</video>

Using muted

The muted attribute mutes (silences) the video control.

Pressing the start button will play the video, but without sound.

To get sound back, click the mute button (to unmute), or remove the muted attribute.


Syntax

<video muted>

Browser support

Here is when muted support started for each browser:

Chrome
4.0 Jan 2010
Firefox
11.0 Mar 2012
IE/Edge
9.0 Mar 2011
Opera
11.5 Aug 2011
Safari
3.1 Mar 2008

You may also like

 Back to <video>

Author: Jack Poorte
Published: Jun 20 2021
Last Reviewed: Sep 30 2023


What's your favorite/least favorite part of Dofactory?


Guides