Menu
Coddy logo textTech

Mute

Lesson 3 of 7 in Coddy's YouTube Video Player - HTML Project course.

It's possible to add properties to your video player by adding query parameters to the YouTube URL.

By default, a YouTube video is not muted, but you can mute it using mute=1 parameter like this:

 https://www.youtube.com/embed/dQw4w9WgXcQ?mute=1

Note the ? after the URL and before the query parameter.

challenge icon

Challenge

Easy

Mute your YouTube player so it won't annoy the users of your web page!

Try it yourself

<!DOCTYPE html>
<html>
    <body>
        <iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ">
        </iframe>
    </body>
</html>

All lessons in YouTube Video Player - HTML Project