section_video_autoplay) ? $boundlessnews_home_section->section_video_autoplay : ''; if( $video_autoplay == '' || $video_autoplay == 'global' ){ $video_autoplay = get_theme_mod( 'ed_autoplay', $boundlessnews_default['ed_autoplay'] ); } } $ratio_value = get_post_meta( get_the_ID(), 'twp_aspect_ratio', true ); if( $ratio_value == '' || $ratio_value == 'global' ){ $ratio_value = isset( $boundlessnews_home_section->section_video_ratio ) ? $boundlessnews_home_section->section_video_ratio : ''; if( $ratio_value == '' || $ratio_value == 'global' ){ $ratio_value = get_theme_mod( 'post_video_aspect_ration', $boundlessnews_default['post_video_aspect_ration'] ); } } boundlessnews_video_content_render( $class1 = 'post', $class2 = 'video-id', $class3 = 'video-main-wraper', $ratio_value, $video_autoplay ); }else{ get_template_part( 'template-parts/content', get_post_format() ); } }else{ get_template_part('template-parts/content', 'single'); } endwhile; ?>