FV Player Support In Units

  1. 1.Enable the setting in wp-admin > Settings > FV player > Setup > Load FV Flowplayer JS everywhere

2. Now paste this code either in wp-admin > Plugins > editor > Select WPLMS Customizer Plugin > wplms-customizer.php OR in Blank Child’s functions.php. It depends on you

add_action('wp_enqueue_scripts',function(){

?>

<script>

document.addEventListener('unit_loaded',function(){

document.querySelectorAll('.flowplayer').forEach(function(element){

flowplayer(element,JSON.parse(element.getAttribute('data-item')));

})

});

</script>

<?php

});