Example #1
0
function premise_the_video_align($postId = null)
{
    echo apply_filters('premise_the_video_align', premise_get_video_align($postId), $postId);
}
Example #2
0
function premise_do_before_video_content()
{
    ?>
	<div class="entry-video entry-video-align-<?php 
    premise_the_video_align();
    ?>
">
		<div class="container-border">
			<div class="entry-video-video">
				<?php 
    if (premise_has_video_image()) {
        ?>
				<a id="inline" href="#entry-video-video-embed"><img src="<?php 
        premise_the_video_image();
        ?>
" alt="<?php 
        premise_the_video_image_title();
        ?>
" /></a>
				<?php 
    } else {
        premise_the_video_embed_code();
    }
    ?>
			</div>
			<?php 
    if (premise_has_video_image()) {
        ?>
<div style="display:none"><div id="entry-video-video-embed"><?php 
        premise_the_video_embed_code();
        ?>
</div></div><?php 
    }
    ?>
			<?php 
    if (premise_get_video_align() != 'center') {
        ?>
			<div class="entry-video-content"><?php 
        echo apply_filters('the_content', premise_get_video_copy());
        ?>
</div>
			<?php 
    }
    ?>
			<span class="clear"></span>
		</div>
		<span class="clear"></span>
	</div>
<?php 
}
Example #3
0
} else {
    premise_the_video_embed_code();
}
?>
					</div>
					<?php 
if (premise_has_video_image()) {
    ?>
<div style="display:none"><div id="entry-video-video-embed"><?php 
    premise_the_video_embed_code();
    ?>
</div></div><?php 
}
?>
					<?php 
if (premise_get_video_align() != 'center') {
    ?>
					<div class="entry-video-content"><?php 
    echo apply_filters('the_content', premise_get_video_copy());
    ?>
</div>
					<?php 
}
?>
					<span class="clear"></span>
				</div>
				<span class="clear"></span>
			</div>
			<div class="entry-content"><?php 
echo apply_filters('the_content', premise_get_video_below_copy());
?>