Use video script as div background [ HTML / CSS ]

18,477

You can easily use the jquery.videobackground plugin.

Read here: http://georgepaterson.github.io/jquery-videobackground/

Share:
18,477
BigTech
Author by

BigTech

Online Earning http://earn-cybermoney.blogspot.com/ Educational Institute Results http://fullentertainmentweb.blogspot.com/ http://biseresult2013.blogspot.com/

Updated on June 08, 2022

Comments

  • BigTech
    BigTech almost 2 years

    Sorry if my tune is not good. I have this code of html

    HTML:

    <div class="video_bg"> ---- Some Code to execute ---</div>
    

    CSS:

    .video_bg{
      width:600px;
      height:600px;
      float:left;
      }
    

    and have a video embed code this

    <iframe src="//player.vimeo.com/video/71906867" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    

    Question: Can i use this video as background of div "video_bg" by using any script or css.