In this video i show how to build a HTML5 video background to a website by utilizing the popular library bideo.js. I also talk about how Javascripts libraries often are structured by looking at the bideo.js source code. I also tried to explain every line of CSS used to achieve this look.
Demo: https://full-video-background.vercel.app
Twitter: / barelydaniel
Github: https://github.com/danba340
0:00 Intro
0:35 CSS walkthrough
11:30 How JS libraries work
12:30 Our Javascript
16:45 Responsive view