To maintain a fixed 600x600 size for a video embed on mobile view in Webflow, you need to override the responsive behavior and apply strict dimensions using the style panel.
1. Select the Embed Element
- Click on your embedded video inside the Webflow Designer.
- If you’re using a Video component, make sure to place it inside a Div Block for better control.
- If you're using a custom Embed block, wrap the embed in a Div as well.
2. Set Fixed Dimensions on Mobile Viewports
- Switch to the mobile portrait view using the device icons at the top of the Designer.
- Select the parent Div Block that contains the video.
- In the Style panel, set:
- Width: 600px
- Height: 600px
- Also set the video element itself to:
- Width: 100%
- Height: 100%
- This ensures the video fills the parent container exactly.
3. Prevent Responsive Scaling
- In some cases, embedded videos (like YouTube or Vimeo) are responsive by default.
- If using an Embed block, ensure the iframe does not include width/height set to 100% or set by aspect ratio logic.
- Instead, add inline styles to your iframe such as:
- width="600" height="600"
- You can also use
style="width:600px; height:600px;" inside the iframe tag.
4. Turn Off Max Widths (If Needed)
- On the parent Div or video element, set:
- Max Width: none
- Max Height: none
- This removes additional constraints applied by Webflow’s default responsive rules.
5. Optional: Hide Overflow
- If any part of the video spills outside its container, select the container Div and set:
- Overflow: hidden
Summary
To fix a video embed at 600x600 on mobile, wrap it in a Div, apply fixed pixel dimensions to that Div on mobile view, and ensure the video fills the container using 100% width/height. Also disable responsive defaults within the iframe if needed.