EVOLUTION-MANAGER
Edit File: video.php
<?php if ( $video_mp4 || $video_webm || $video_ogg ) { $video_atts = array( 'preload', 'playsinline', 'autoplay' ); if ( $video_sound === 'false' ) { $video_atts[] = 'muted'; } if ( $video_loop === 'true' ) { $video_atts[] = 'loop'; } ?> <div class="video-overlay no-click fill <?php echo esc_attr( $video_visibility ); ?>"></div> <video class="video-bg fill <?php echo esc_attr( $video_visibility ); ?>" <?php echo esc_attr( implode( ' ', $video_atts ) ); ?>> <?php echo $video_mp4 ? '<source src="' . esc_url( $video_mp4 ) . '" type="video/mp4">' : ''; echo $video_ogg ? '<source src="' . esc_url( $video_ogg ) . '" type="video/ogg">' : ''; echo $video_webm ? '<source src="' . esc_url( $video_webm ) . '" type="video/webm">' : ''; ?> </video> <?php } ?> <?php if ( $youtube ) { ?> <div class="video-overlay no-click fill"></div> <div id="ytplayer-<?php echo mt_rand( 1, 1000 ); ?>" class="ux-youtube fill object-fit <?php echo esc_attr( $video_visibility ); ?>" data-videoid="<?php echo esc_attr( $youtube ); ?>" data-loop="<?php echo 'false' !== $video_loop ? '1' : '0'; ?>" data-audio="<?php echo 'false' === $video_sound ? '0' : '1'; ?>"></div> <?php } ?>