First and foremost, yes I could spend 40 minutes digging through the forums to try and find information about this, but I have googled it for the past 20 and haven’t come up with much. I also retain more information discussing things. And this is something I’d like to learn.
Anyway, onto the problem… I really would like to replicate something as seen in https://www.desktimeapp.com/
With the looped video in the background of a content header… I’m working with wordpress and I don’t really understand how to accomplish this.
Hi Lane. In essence, this looks pretty simple. There is and HTML5 <video> element, with two divs placed over the top of it. The video is set to position: fixed and has opacity set on it to make is seem semi transparent.
For some reason, the site is using JS to serve up the video, which isn’t really necessary, so I’m not sure why they are doing that.
That is just the answer I was looking for at the time! Thanks so much!
I’m having trouble understand what my problem is though. I need to display a <div> over the video that has a background color (and transparency) like they did in the site above.
My current HTML markup is
I guess we’d need to know more specifically what you need here, as there are lots of considerations. This is a rough experiment, and probably has a lot of flaws, but I don’t know what I’m aiming for …