<?php 
if(!defined('IN_DEMOSOSO')) {
  exit('this is wrong page,please back to homepage');
}
?>
<?php 
 if($bgimg=='') $videoimgv = STAPATH.'img/video.jpg';
   else  $videoimgv = get_img($bgimg);

   ?>

    <?php 
 
 if($bgtmd=='') $bgtmd = 1;
 if($bgcolor<>''){
  ?>
<style type="text/css">
  
  .videofullbg::before{ background: <?php echo $bgcolor?> ;opacity: <?php echo $bgtmd?>}
</style>
  <?php

 }
 ?>

<section class="videofullbg dmbgtmd <?php echo $cssname;?>" style="background-image: url(<?php echo $videoimgv;?>);">
            
      <div class="videofullbg_text">
            
         <?php 
      if($namefront<>''){
      ?>    
      <h3><?php echo $namefront;?></h3>
       <?php 
        }
        ?>

      <?php 
          if($desp<>''){
      ?>
      <div class="desp"><?php echo $desp;?></div>
      <?php 
    }
    ?>
      
      <?php 
         // class="videoarrow"
      ?>
        <a data-fancybox data-type="iframe" data-src="<?php echo BASEURL?>dmpostform.php?type=videoindetail&pidname=<?php echo $videosrc;?>&lang=<?php echo LANGPATH;?>"  data-caption="<?php echo $videotext;?>" href="javascript:void(0);" class="videoplaybutton">
           <span></span> 
         
        </a>
     </div>
 </section>

  <style type="text/css">
    /*css file in : DM-block\jtblock\jtblock_video\video_fullbg.php */
    .videofullbg{height:350px;text-align:center;color:#fff;position:relative;background-size:cover;background-attachment:fixed;background-color:#ffffff}
.videofullbg_text{position:relative;top:0;right:0;width:100%;padding-top:100px;padding-bottom:150px}
.videofullbg h3{font-size:28px;padding-bottom:20px;color:#fff;line-height: 38px}
.videofullbg .desp{font-size:14px;padding-bottom:20px}
/*
.videofullbg .videoarrow{display:inline-block;width:70px;height:70px;background:url(../images/videosm.png) no-repeat center center;background-size: cover}*/
.videofullbg .videoplaybutton {top:70%}

 <?php 
  if($namefront=='' && $desp==''){
    ?>

     
  <?php 
  }
 ?>
  </style>
   
 