autoplay=1&controls=0
.To autoplay a Vimeo video in a Webflow Lightbox while avoiding the double play button, you need to bypass the default Webflow Lightbox behavior and embed the video manually using custom interactions.
display: none
) and positioned fixed to cover the entire screen.In the Embed block, insert your Vimeo link with the appropriate query parameters:
autoplay=1
– to autoplay
background=1
or controls=0
– to hide the play button
Example Vimeo embed URL:https://player.vimeo.com/video/123456789?autoplay=1&muted=0&controls=0&loop=0
Add loading="lazy"
and allow="autoplay"
to ensure autoplay works, like this (inside the embed):
<iframe src="https://player.vimeo.com/video/123456789?autoplay=1&controls=0" loading="lazy" allow="autoplay; fullscreen" allowfullscreen></iframe>
display: flex
or block
)src
).To autoplay a Vimeo video in Webflow without showing the second play button, avoid the default Lightbox and instead use a custom modal with a Vimeo iframe that includes autoplay=1&controls=0
. This gives you full control and avoids duplicate UI elements.