Пример #1
0
if ($mod_title_video != '') {
    ?>
	<h3 class="module-title"><?php 
    echo $mod_title_video;
    ?>
</h3>
	<?php 
}
?>

	<div class="video-wrap" <?php 
echo $video_maxwidth != '' ? 'style="max-width:' . $video_maxwidth . ';"' : '';
?>
>
		<?php 
echo themify_parse_video_embed_vars(wp_oembed_get($url_video), $url_video);
?>
	</div>
	<!-- /video-wrap -->
	<div class="video-content">
		<h3 class="video-title">
			<?php 
if ($title_link_video) {
    ?>
			<a href="<?php 
    echo $title_link_video;
    ?>
"><?php 
    echo $title_video;
    ?>
</a>
Пример #2
0
    ?>
</h3>
	<?php 
}
?>

	<?php 
do_action('themify_builder_before_template_content_render');
?>

	<div class="video-wrap" <?php 
echo $video_maxwidth != '' ? 'style="max-width:' . $video_maxwidth . ';"' : '';
?>
>
		<?php 
echo themify_parse_video_embed_vars(wp_oembed_get(esc_url($url_video)), esc_url($url_video));
?>
	</div>
	<!-- /video-wrap -->
	
	<?php 
if ('' != $title_video || '' != $caption_video) {
    ?>
	<div class="video-content">
		<?php 
    if ('' != $title_video) {
        ?>
		<h3 class="video-title">
			<?php 
        if ($title_link_video) {
            ?>