<script>
var Webflow = Webflow || [];
Webflow.push(function() {
function togglePlayPause() {
$('video').each(function() {
if (this.paused) {
this.play();
} else {
this.pause();
}
});
}
function toggleVisibility() {
$('video').each(function() {
var opacity = $(this).css('opacity') == 0 ? 1 : 0
$(this).css("opacity", opacity);
});
}
$('#video-toggle').click(togglePlayPause);
});
</script>