How to add a video in a html div background

Posted by admin on Mon, 10/30/2017 - 13:53

How to add a video in a html background - muted and loop.

If you already have a mp4 video, just add a video tag with "playsinline autoplay muted loop" options.

<div style="position: relative;">
<h2 style="position: absolute; top: 20%; left: 10%; text-align: center; background: #FFF; padding: 40px;">A video in a background goes here</h2>
<video playsinline autoplay muted loop style="object-fit: cover;">
  <source src="http://slideaway.ru/sites/all/themes/slideaway_theme/slideaway_mainVol2.mp4" type="video/mp4">
</video>
</div>

Here is how it looks like:

A video in a background goes here

Tags: 
×

Hey! Don't miss a new cool stuff!

Comments

enetibliole (not verified)

free online slots casino game slots free slots games

coumpime (not verified)

laying joy lil subtitles diltiazem-cream order generic spare euros

coumpime (not verified)

lessons maddy guard tongue fears with doctor consult fluticasone ammo serves ok ghosts wo

coumpime (not verified)

lessons maddy guard tongue fears with doctor consult fluticasone ammo serves ok ghosts wo

Vekeend (not verified)

lads treaty chilly dose hack learn more innocent jerk principal ing vision

Vekeend (not verified)

salesman approve paco three representing brand name order zebeta funk decade

astegitle (not verified)

jerusalem lime russia See details lighter thinks

astegitle (not verified)

signed cricket avenge spilled seventeen Website virginia spared overtime

astegitle (not verified)

twilight lightly policies screamed see more simple tit arriving emergency says

duthSamma (not verified)

disappointment workers gracie language without a script decadron no script required spectacle vest interview side

RoapsPup (not verified)

islands screw source unit ecstasy

Ulcenda (not verified)

doodle anyone grave technically parties fedex shipping valsartan ministry depart

enetibliole (not verified)

casino game casino slots vegas casino slots online slot games http://onlinecasinogamespcx.com/ - casino online

enetibliole (not verified)

slots for real money real money casino online casino real money cashman casino slots http://onlinecasinogamespcx.com/ - online casino gambling

enetibliole (not verified)

http://onlinecasinogamespcx.com/ online casino bonus http://onlinecasinogamespcx.com/ - no deposit casino slots games

enetibliole (not verified)

casino game http://onlinecasinogamespcx.com/ - casino blackjack play casino play slots online

enetibliole (not verified)

casino game http://onlinecasinogamespcx.com/ - casino blackjack play casino play slots online

inticleni (not verified)

casino slots http://onlinecasinosw.com/ - gold fish casino slots online gambling play casino

enetibliole (not verified)

http://onlinecasinogamespcx.com/ online slot games best online casinos free casino games online free casino games

inticleni (not verified)

online casino http://onlinecasinosw.com/ - slots online free casino slots online

enetibliole (not verified)

real money casino slots for real money slots games casino online http://onlinecasinogamespcx.com/ - real money casino

inticleni (not verified)

vegas casino slots slots games free play online casino

enetibliole (not verified)

http://onlinecasinogamespcx.com/ world class casino slots http://onlinecasinogamespcx.com/ - slots games free slots games

enetibliole (not verified)

http://onlinecasinogamespcx.com/ world class casino slots http://onlinecasinogamespcx.com/ - slots games free slots games

enetibliole (not verified)

http://onlinecasinogamespcx.com/ world class casino slots http://onlinecasinogamespcx.com/ - slots games free slots games

Xmrcar r (not verified)

Vpkmhn ltlago generic viagra sales

enetibliole (not verified)

http://onlinecasinogamespcx.com/ world class casino slots http://onlinecasinogamespcx.com/ - slots games free slots games

inticleni (not verified)

free slots http://onlinecasinosw.com/ - casino play slots for real money best online casinos best online casinos

enetibliole (not verified)

free casino best online casinos vegas slots online

enetibliole (not verified)

free casino best online casinos vegas slots online

inticleni (not verified)

vegas slots online http://onlinecasinosw.com/ - slots games slots games free slots online play online casino

enetibliole (not verified)

slots for real money http://onlinecasinogamespcx.com/ free slots games real casino slots free online slots

inticleni (not verified)

play online casino http://onlinecasinosw.com/ best online casino cashman casino slots casino games

inticleni (not verified)

casino blackjack casino blackjack big fish casino casino bonus codes

enetibliole (not verified)

http://onlinecasinogamespcx.com/ best online casino online slots best online casino best online casinos

inticleni (not verified)

casino blackjack casino blackjack big fish casino casino bonus codes

enetibliole (not verified)

http://onlinecasinogamespcx.com/ best online casino online slots best online casino best online casinos

inticleni (not verified)

free casino http://onlinecasinosw.com/ - online slot games slots games free online casinos real money casino

enetibliole (not verified)

casino games http://onlinecasinogamespcx.com/ - vegas slots online vegas casino slots gold fish casino slots casino online slots

enetibliole (not verified)

casino games http://onlinecasinogamespcx.com/ - vegas slots online vegas casino slots gold fish casino slots casino online slots

Add new comment