I’m trying to make a video background. I already found the 2 tutorials about making a video background and mastered them more or less successfully My problem is, that I don’t want to have a full size video background. The width should be 100% but the height for example just 600 px. How can I achieve this?
I used the HTML5 video embed method. Hopefully someone can help me!
Ok …one more question I had second thoughts…when I change the height of the section to 100vh , the video does not fill the full screen. Second try was to change the height of the video code to 100vh, but than the video will have grey bars on the side and is not filling the width. Is there a workaround for that?
Yes its quite a mess with ipad, iphone etc.
There are tons of articles out there dealing with that topic.
e.g.
and so on.
I dont think that webflow can handle the unit vh correctly. If you set your body to 100% height, and set your video section also to 100% you have a “browser full height section”.
Dont know if thats working or not with the video bg but I would rather always change the section css code instead of editing the embedded video code.
Thank you for your time. But unfortunately it does not work this way :-/ I seems that the size (the height of the vid) of the vid is limiting the height of the section. So instead of “zooming” in the vid or change the size of the video, space underneath the vid is added