JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://a.vimeocdn.com/js/froogaloop2.min.js"></script>
<iframe src="http://player.vimeo.com/video/4415083?api=1;title=0&byline=0&portrait=0&color=d01e2f&autoplay=1" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<button>Mute</button>
<iframe src="http://player.vimeo.com/video/4415083?api=1;title=0&byline=0&portrait=0&color=d01e2f&autoplay=1" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<button>Mute</button>
<iframe src="http://player.vimeo.com/video/4415083?api=1;title=0&byline=0&portrait=0&color=d01e2f&autoplay=1" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<button>Mute</button>
JavaScript
$('button').on('click', function () {
var iframe = $(this).prev('iframe')[0];
if ($(this).hasClass('mute')) {
$(this).removeClass('mute').text('Mute');
iframe.contentWindow.postMessage('{"method":"setVolume", "value":1}', '*');
} else {
$(this).addClass('mute').text('Unmute');
iframe.contentWindow.postMessage('{"method":"setVolume", "value":0}', '*');
}
});