<?php include "include/header.php" ;?>
<div class="parallax inverse-text page-title-wrapper" data-parallax-img="<?php echo base_url();?>assets/images/pattern.jpg" data-parallax-img-width="1920" data-parallax-img-height="455">
    <div class="container inner text-center pt-40 pb-40 ">
      <h1 class="section-title">Video Gallery</h1>
      <div class="space10"></div>
      <div class="meta breadcrumbs text-center mb-0"><span><a href="<?php echo base_url();?>">Home</a></span><span><a href="#">Video Gallery</a></span></div>
    </div>
    <!-- /.container --> 
  </div>
  <!-- /.parallax -->
<div class="wrapper light-wrapper">
    <div class="container inner pt-40 pb-40">
      <div class="row">
		<?php foreach($video as $row):?>
		
        <div class="col-sm-6  mt-20">
			 <?php
				  $step1 =explode('v=',$row->v_link);
				  $step2 =explode('&',$step1[1]);
				  $v_id=$step2[0];
			 ?>
			 
			<iframe width="100%" height="350" src="https://www.youtube.com/embed/<?php echo $v_id;?>" class="framelink" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
		</div>
		<?php endforeach;?>
       </div>
	  </div>
	</div>
 <?php include "include/footer.php" ;?>
