
.video-background {

  background: #000;


  top: 0; right: 0; bottom: 0; left: 0;

  z-index: 0;

}

.video-foreground,

.video-background iframe {

  position: absolute;

  top: -10%;

  left: -10%;

  width: 120%;

  height: 120%;

  pointer-events: none;

}


/* 
///////////////////////////////////////////////
///////////////////////////NOW USE HTML

<div class="video-background">

            <div class="video-foreground">

                <iframe src="https://www.youtube.com/embed/<?php echo $video; ?>?controls=0&showinfo=0&rel=0&mute=1&modestbranding=1&autoplay=1&loop=1&playlist=<?php echo $video; ?>" frameborder="0" allowfullscreen></iframe>

            </div>

        </div>

///////////////////////////////////////////////////////
//////////////////FOR BG VIDEO
*/