autoplay=1&muted=1
to the Vimeo URL and dynamically inject the iframe into the modal after it opens using Webflow Interactions.Autoplay issues with embedded Vimeo videos in a Webflow modal typically happen due to missing URL parameters, browser restrictions, or the way modals are triggered.
autoplay=1
and muted=1
.autoplay=1
, the video may start playing in the background, not upon modal open.<div id="vimeo-container"></div>
).set innerHTML
) containing the correct Vimeo embed URL.display: none
Carefullydisplay: none
, some browsers block autoplay because the iframe is loaded before it’s visible.To ensure Vimeo autoplay works in a Webflow modal, dynamically load the video with autoplay=1&muted=1
after the modal opens. Don’t preload the iframe hidden, and always mute the video to comply with browser autoplay rules.