#Video not taking up whole screen?
24 messages · Page 1 of 1 (latest)
anyway let's try again
over at http://vilcrete.aceadmin.com.au I am trying to get the video to cover the whole screen
Codepen: https://codepen.io/editor/autisticenbynerd/pen/019c943e-292b-7ce5-a588-e708a43f8757
I've tried setting it to width: 100%, width: 100vw, left: 0, right: 0, and all sorts of things (there's probably some redundent code left in the css tbh because of this I'm just trying to figure it out)
If you take a look in the devtools, you see the video is basically taking the full page already.
The problem is, you are missing object-fit:cover; on the video tag
You should also never use viewport units... This is REALLY bad
After adding object-fit:cover; you get this. Yes, it does cover the whole screen, the reason you see a little black at the bottom comes from the main that is overlapping the video
Then you also have this element overlapping like crazy
Yeah... Your page is full off issues
I would probably advice you to start from scratch
Oh aaah yeah, the content div is for the text, that should overlap the video, my bad, but yeah it takes up more space than it needs to
While I appreciate the advice I didnt come here to be judged.
My understanding was view height was actually a good thing to use so if you have any links that say otherwise id appreciate it
The person im building the website for wants the title on the video. If I had wanted advice on that id have asked
Yes so thats on purpose
The navbar takes up more space than it needs to aswell
Im aware of most of this btw
I do appreciate the feedback
Im tired and frustrated in general sorry
For snapping
I am not judging you. Trust me... You dont wanna see how awful my first projects were. You are x100000 times better than i was when i first got started. But, i gotta point out your mistakes and tell you what i think is the best for you to do at this point
Yeah hence my apology
Im going back to sleep. Its midnight nearly and I do work in the morning
Alright. But yeah, when you are ready for it. Let me know and we can deal with all these issues
Go ahead and leave feedback ill read in the morning. The website is still very much draft