Streaming live at 10am (PST)

Constraining 100% Width Vimeo Background Video embed to section or div


Hi all,

I’m attempting to implement some custom code for a Vimeo video embed.

I found this tutorial explaining how to achieve this in Webflow with an embed item nested in a section.

I followed his instructions and it works like a charm except that the embed doesn’t respect section hierarchy so I’m futzing with position settings to constrain the background video ONLY within its section (or div).

Is there a more effective way to constrain the background video to a div block or section? Ultimately, the goal is 100% width embedded video with a custom height (cropped by px height?) that has sections/content above and below it on the page.

I’m still new to Webflow and I’m sure there is information I missing. Thanks so much for your help!