How do i mute a Youtube Video with in my iframe block without using JS? Is it a way which can be leveraged? -I do not want to consume Youtube API. Is there any way that videos can be muted with just API parameters?
Asked
Active
Viewed 2,224 times
2 Answers
0
I think it is not possible if you are only using the YouTube API parameter.
If you check the supported parameter of the IFrame Player API, you will not see any parameter here that can mute the video.
So the only way to mute video is the player.mute():Void
.
Here is the jsfiddle for the sample code.
For more information, check this related threads:
0
use &mute=1
example : <iframe src="https://www.youtube.com/embed/UNIQUE-VIDEO-ID?&autoplay=1 &mute=1&rel=0&controls=0"></iframe>

mim
- 56
- 1
- 8