Webflow offers native component of background video, unfortunately the compression is so awful that it basically renders this feature useless. Perhaps it’s good for those dimmed short clips but in the website I am designing video is my key visual for the hero section.
Is there a way of implementing background video by embed code that would behave just like the webflow component? I would use link to dropbox file so i can provide file with better quality.
Layout i am trying to achieve is very similar to this website:
<video autoplay loop style=" width:100%; height: 100%;
display:block; margin: 0 auto; object-fit: cover;">
<source src="https://insert direct link to the video here" type="video/mp4" />
</video>
Should also consider adding the playsinline and muted attributes to the video element incase the video has sound or some browser extension wants to play it in fullscreen.