Video player issue in unit details popup (fix)

Please add the given code in your wplms-customizer.php file in wplms-customizer plugin :

add_action('wp_enqueue_scripts','add_media_css');
function add_media_css(){
  if(is_singular('course')){
    global $post;
    $check =get_post_meta($post->ID ,'vibe_course_unit_content',true);
    if($check=='S'){
      wp_enqueue_media();
    }
  }
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *