Re-init videos

<?php
/** reinitialize videos **/    
add_action( 'wp_head', function() {
?>

<script>
(function($) {
    document.addEventListener('facetwp-loaded', function() {
        $('.fifu-video').each(function (index) {
        	$(this).css('opacity', 1);
    	});
    	replaceVideoThumb($);
     });
})(jQuery);
</script>

<?php
}, 100 );