<div class='embed-responsive embed-responsive-16by9'>
			<?php 
        the_video($video[0]);
        ?>
 
		</div>
	<?php 
    } else {
        ?>
		<ul class="slides">  
			<?php 
        foreach ($video as $key => $value) {
            ?>
				<li>
					<?php 
            the_video($value);
            ?>
 
				</li>
			<?php 
        }
        ?>
 
		</ul>
	<?php 
    }
    ?>
	
	</div> 
</section>
<?php 
Exemple #2
0
		<?php 
if (have_rows('videos')) {
    ?>
        <div class="owl-video">
			<?php 
    while (have_rows('videos')) {
        the_row();
        ?>
            <div class="item">
                <a class="fbox-modal fancybox.iframe" href="<?php 
        the_video('video_link', 'embed', true);
        ?>
">
                    <img class="img-responsive" width="800" src="<?php 
        the_video('video_link', 'image', true);
        ?>
" alt="">
                    <img class="video-play" src="<?php 
        bloginfo('template_url');
        ?>
/assets/img/icons/video-play.png" alt="">
                </a>
            </div>
			<?php 
    }
    ?>
        </div><!--/end owl video-->
		<?php 
}
?>
			<div class="row">
				<div class="col-sm-8">
					<div class="box-white">
						<h3 class="box-title blue"><?php 
the_title();
?>
</h3>
						<?php 
$content = explode('<hr />', apply_filters('the_content', get_the_content()));
echo wpautop($content[0]);
$video = get_field('course_video');
if ($video) {
    ?>
						<div class="embed-responsive embed-responsive-16by9">
							<iframe id="unit_video" class="embed-responsive-item vimeo_unit" src="<?php 
    the_video('course_video', 'embed', false);
    ?>
?api=1&player_id=unit_video"></iframe>
						</div>
						<?php 
}
?>
						<?php 
echo wpautop($content[1]);
?>
					</div>
				</div>
				<div class="col-sm-4">
					<div class="box-white">
						<h3 class="box-title blue">Training Progress</h3>
						<?php 
Exemple #4
0
        the_row();
        $row_start = $i == 0 || $i % 3 == 0 ? true : false;
        $row_end = $i % 3 == 2 || $i == $total - 1 ? true : false;
        ?>
			<?php 
        if ($row_start) {
            ?>
<div class="row webinars fluid-height-h"><?php 
        }
        ?>
				<div class="col-sm-4">
					<?php 
        if (get_sub_field('video_link')) {
            ?>
					<a class="box-white fancy-webinar fancybox.iframe" href="<?php 
            the_video('video_link', 'embed', true);
            ?>
" title="<?php 
            the_sub_field('title');
            ?>
">
						<i class="material-icons">play_circle_filled</i>
						<img src="<?php 
            the_image('thumbnail', 'url', true);
            ?>
" alt="<?php 
            the_image('thumbnail', 'alt', true);
            ?>
" class="img-responsive" />
						<h4 class="text-center"><?php 
            the_sub_field('title');
<?php

$attached_media = get_attached_media('image', get_the_ID());
?>
<div class="mascara-de-fundo">
  <?php 
$youtube_video_id = get_field('youtube_video_id');
if (!empty($youtube_video_id)) {
    the_video($youtube_video_id);
}
if (has_post_thumbnail()) {
    the_post_thumbnail(null, array('class' => 'imagem-de-fundo'));
}
?>
</div>
<div class="w-container container-do-case">
   <div class="w-row">
      <div class="w-col w-col-7"></div>
      <div class="w-col w-col-5 coluna-da-descricao">
         <h3 class="chamada-do-case"><?php 
the_title();
?>
</h3>
         <div class="descricao-do-case">
           <?php 
the_content();
?>
         </div>
         <div class="grid">
           <div class="grid-sizer"></div>
<?php 
Exemple #6
0
<?php

get_header();
get_template_part('template-parts/page-header');
?>
<div class="pre-slider" id="topo"></div>
<div
  class="w-slider slider-hero" id="inicio" data-animation="slide"
  data-duration="500" data-infinite="1" data-easing="ease-in-out"
  data-delay="4000" data-autoplay="0">
   <div class="w-slider-mask mascara-do-slider-hero">
      <div class="w-slide slide slide-hero-1">
        <?php 
the_video('fZALd3-EivU');
?>
         <div class="textura-do-hero"></div>
      </div>
   </div>
   <div class="w-slider-arrow-left seta-do-hero">
      <div class="w-icon-slider-left"></div>
   </div>
   <div class="w-slider-arrow-right seta-do-hero">
      <div class="w-icon-slider-right"></div>
   </div>
   <div class="w-slider-nav w-round navegacao-do-hero"></div>
</div>
<section class="w-section pos-hero">
   <div class="container-do-pular-para-conteudo">
     <a class="w-button pular-para-o-conteudo" href="#conteudo">‍+‍</a>
   </div>
   <div class="overlay-do-slider-hero">