?autoplay=1&mute=1) and paste it in the Lightbox Link settings. To make a lightbox video autoplay in Webflow and ensure the navbar appears underneath the lightbox modal, follow the steps below.
Webflow’s native Lightbox component does not provide an autoplay option directly in the interface, but you can autoplay a video by modifying the video URL.
?autoplay=1&rel=0&mute=1 to the video URL. https://www.youtube.com/watch?v=xxxxxxx?autoplay=1&rel=0&mute=1?autoplay=1&muted=1https://vimeo.com/xxxxxx?autoplay=1&muted=1
To ensure the navbar doesn’t appear over the Lightbox modal, adjust the z-index settings.
1).
Then check the Lightbox modal container (Webflow uses default classes for modals):
z-index (e.g., 1000+), so just ensuring your navbar is below this (e.g., z-index of 1 or 10) will prevent overlap.
If your navbar still appears above the modal:
z-index.
To autoplay a lightbox video in Webflow, modify the video URL with autoplay and mute parameters, especially for YouTube or Vimeo. To ensure your navbar stays behind the lightbox, reduce its z-index to below modal default values (typically <1000).