JSFiddle - React, Tailwind, and code Playground
HTML
<div id="made-in-ny"></div>
<script src="https://player.vimeo.com/api/player.js"></script>
<script>
var options = {
id: 59777392,
width: 640,
loop: true,
muted: true,
autoplay: true
};
var player = new Vimeo.Player('made-in-ny', options);
player.setVolume(0);
player.on('play', function() {
console.log('played the video!');
});
setTimeout (() => {
player.setVolume(1);
});
</script>