Video Modal WIndow
<div class="featured-video-wrap" style="display:none;">
<div class="close-video">Close</div>
<?php if (strpos($video_url, 'vimeo') !== FALSE) {
$id = substr($video_url, strrpos($video_url, '/') + 1);?>
<iframe src="https://player.vimeo.com/video/<?php print $id; ?>" width="560" height="315" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<?php } elseif(strpos($video_url, 'watch') !== FALSE) {
$id = substr($video_url, strrpos($video_url, '=') + 1);?>
<iframe width="560" height="315" src="https://www.youtube.com/embed/<?php print $id; ?>" frameborder="0" allowfullscreen></iframe>
<?php } elseif(strpos($video_url, 'youtu.be') !== FALSE) {
$id = substr($video_url, strrpos($video_url, '/') + 1);?>
<iframe width="560" height="315" src="https://www.youtube.com/embed/<?php print $id; ?>" frameborder="0" allowfullscreen></iframe>
<?php } ?>
</div>
<div class="video-lightbox" style="display:none;"></div>