Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

How to add video background in html and css

<video id="background-video" autoplay loop muted poster="https://assets.codepen.io/6093409/river.jpg">
<source src="https://assets.codepen.io/6093409/river.mp4" type="video/mp4">
</video>
Source by blog.hubspot.com #
 
PREVIOUS NEXT
Tagged: #How #add #video #background #html #css
ADD COMMENT
Topic
Name
2+9 =