Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YouTube: How to present embed video with sound muted

I'm trying to embed a video with the sound muted but I can not figure out how it make it work.

Currently I'm using this but doesn't work:

<iframe src="https://www.youtube.com/embed/uNRGWVJ10gQ?rel=0&amp;autoplay=1" width="560" height="315" frameborder="0" allowfullscreen></iframe> 

Any of you knows how can I make this work ?

like image 298
user2924482 Avatar asked Jan 27 '16 17:01

user2924482


2 Answers

Updated

Add &mute=1 to the end of your url.

Your new code would be:

<iframe src="https://www.youtube.com/embed/uNRGWVJ10gQ?rel=0&amp;autoplay=1&mute=1" width="560" height="315" frameborder="0" allowfullscreen></iframe>
like image 159
Devon Yarbrough Avatar answered Sep 20 '22 20:09

Devon Yarbrough


For me works using &autoplay=1&mute=1

like image 31
Adriana Avatar answered Sep 19 '22 20:09

Adriana