
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to set the audio output of the video to mute in HTML?
Use the muted attribute to set the audio output of the video to mute. You can try to run the following code to implement muted attribute −
Example
<!DOCTYPE HTML> <html> <body> <video width = "300" height = "200" controls muted> <source src = "/html5/foo.ogg" type = "video/ogg" /> <source src = "/html5/foo.mp4" type = "video/mp4" /> Your browser does not support the video element. </video> </body> </html>
- Related Questions & Answers
- How to include the audio/video controls in HTML?
- HTML 5 video or audio playlist
- How to specify if and how the author thinks the audio/video should be loaded when the page loads in HTML?
- How to play audio and video file in iOS?
- Execute a script each time the volume of a video/audio is changed in HTML?
- How to specify that the audio/video will start over again, every time it is finished in HTML?
- How to set the output directory of TestNG @BeforeTest?
- What are the offline softwares to generate closed captions from audio/video?
- How to set the name of the element in HTML?
- How to avoid repeat reloading of HTML video on the same page?
- How do we set an image to be shown while the video is downloading in HTML?
- How to use the <output> tag in HTML?
- How do we specify that the audio/video will start playing as soon as it is ready in HTML?
- How to set the URL of the media file in HTML?
- How to add video in HTML page?
Advertisements