Code mute in iframe

Asked

Viewed 168 times

1

Can someone help me please, I want to put this iframe on my website, but I want him to play in mute, has some code to put inside the iframe to make him dumb?

someone explain to me how I do?

<iframe frameborder="0" width="320" height="180" src="//www.dailymotion.com/embed/video/IDVIDEO" allowfullscreen></iframe>

1 answer

2


According to the documentation, you can pass a parameter mute for him, where 0 is not mute and 1 is mute:

<iframe frameborder="0" width="480" height="270"
src="//www.dailymotion.com/embed/video/IDVIDEO?mute=1"
allowfullscreen></iframe>
  • Valeu bro, and if I wanted to use ? autoplay=1 how would I do? or have no way to use both together?

  • @Kaios only pass one more parameter: www.dailymotion.com/embed/video/IDVIDEO?mute=1&autoplay=1

  • thanks Arthur, it worked here bro, smooth :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.