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

inticleni (not verified)

free casino http://casinoslotspc.com/ online slot games play slots online world class casino slots

inticleni (not verified)

free casino http://casinoslotspc.com/ online slot games play slots online world class casino slots

inticleni (not verified)

free casino http://casinoslotspc.com/ online slot games play slots online world class casino slots

enetibliole (not verified)

slot games http://casinogamespqr.com/ slot games slot games real casino slots

enetibliole (not verified)

slot games http://casinogamespqr.com/ slot games slot games real casino slots

enetibliole (not verified)

slot games http://casinogamespqr.com/ slot games slot games real casino slots

inticleni (not verified)

http://casinoslotspc.com/ casino play free slots games casino games vegas casino slots

enetibliole (not verified)

casino online online slot games online casino real money

enetibliole (not verified)

casino online online slot games online casino real money

inticleni (not verified)

casino games http://casinoslotspc.com/ - vegas casino slots free casino games online free casino slot games

Overnight canad... (not verified)

Sjqwqp kcothi viagra for sale online Pfizer viagra 50mg

enetibliole (not verified)

free online slots slots free play slots online free slots games

inticleni (not verified)

online slots http://casinorealmoneyfdr.com/ - slots online casino online slots online casino real money online slots

inticleni (not verified)

online slots http://casinorealmoneyfdr.com/ - slots online casino online slots online casino real money online slots

enetibliole (not verified)

play slots http://casinogamespqr.com/ - casino game slots games best online casino big fish casino

enetibliole (not verified)

play slots http://casinogamespqr.com/ - casino game slots games best online casino big fish casino

inticleni (not verified)

casino bonus codes http://casinorealmoneyfdr.com/ casino slots slot games free casino

enetibliole (not verified)

free online slots play casino casino slots online slots

enetibliole (not verified)

free online slots play casino casino slots online slots

enetibliole (not verified)

free online slots play casino casino slots online slots

enetibliole (not verified)

free online slots play casino casino slots online slots

inticleni (not verified)

casino slots free casino games play slots online slot games

Buy viagra brand (not verified)

Jdnblu icygol Viagra next day delivery Viagra overnight delivery

enetibliole (not verified)

http://casinogamespqr.com/ casino slots free casino slot games casino slots online casino real money

enetibliole (not verified)

http://casinogamespqr.com/ casino slots free casino slot games casino slots online casino real money

inticleni (not verified)

http://casinorealmoneyfdr.com/ casino game slots games free gold fish casino slots online gambling

inticleni (not verified)

free casino slot games play slots vegas slots online online casinos

inticleni (not verified)

free casino slot games play slots vegas slots online online casinos

enetibliole (not verified)

best online casino real money casino online casino gambling

inticleni (not verified)

free slots games free casino slot games casino play slots games http://casinorealmoneyfdr.com/ - casino play

enetibliole (not verified)

slot games http://casinoslotsfest.com/ play slots free slots games free casino games

inticleni (not verified)

vegas casino slots http://casinorealmoneyfdr.com/ - world class casino slots play online casino online slots casino online

Viagra or cialis (not verified)

Auehid ctkbrx How to get some viagra Get viagra fast

enetibliole (not verified)

free slots games online casino real money free slots games real casino slots http://casinoslotsfest.com/ - vegas slots online

inticleni (not verified)

http://casinorealmoneyfdr.com/ cashman casino slots online casino slots online casinos casino real money

inticleni (not verified)

http://casinorealmoneyfdr.com/ cashman casino slots online casino slots online casinos casino real money

enetibliole (not verified)

http://casinoslotsfest.com/ play online casino no deposit casino free slots games cashman casino slots

inticleni (not verified)

slots online online slot games vegas casino slots free slots games

Fda approved viagra (not verified)

Ivenka rwlbnm Viagra approved Discount viagra

enetibliole (not verified)

http://casinoslotsfest.com/ real casino slots http://casinoslotsfest.com/ - online slot games online casino bonus

enetibliole (not verified)

http://casinoslotsfest.com/ real casino slots http://casinoslotsfest.com/ - online slot games online casino bonus

enetibliole (not verified)

http://casinoslotsfest.com/ real casino slots http://casinoslotsfest.com/ - online slot games online casino bonus

inticleni (not verified)

online casino bonus best online casinos play slots

enetibliole (not verified)

http://casinoslotsfest.com/ online slot games gold fish casino slots real money casino play online casino

enetibliole (not verified)

http://casinoslotsfest.com/ online slot games gold fish casino slots real money casino play online casino

enetibliole (not verified)

http://casinoslotsfest.com/ online slot games gold fish casino slots real money casino play online casino

inticleni (not verified)

online casino games http://casinorealmoneyfdr.com/ - casino games casino game online casino

inticleni (not verified)

online casino games http://casinorealmoneyfdr.com/ - casino games casino game online casino

enetibliole (not verified)

free online slots http://casinoslotsfest.com/ - slots online free slots games play online casino world class casino slots

Viagra medication (not verified)

Bqhalm jjkmet Canadian healthcare viagra sales Viagra original pfizer order

Add new comment