The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How to correctly place a video as background
As you probably can guess by the title, I am looking to correctly place a video as a background.
I have pushed my website with a video already, but it seems that there are some bugs on Windows computers; https://barsnes.tk/
Here is a codepen with ALL the code, but you can’t see the video, because it is located on my computer. (I tried a youtube link, but with no success)
Here is a very limited code, with A LOT removed, but the most important to the question should be there: https://codepen.io/Barsnes/pen/ZoKVGq
Here is the full code with little to no removals: https://codepen.io/Barsnes/pen/mLmQoV
I am very new to css, and if you have the answer and solution, it would be amazing to get the fixed code with an explanation to what I did wrong.
Thanks in advance, and if there are any further questions, feel free to send me a message or mail!