<video>
tag with autoplay, muted, and playsinline attributes..play()
when the video is scrolled into view; for reliability, prefer using dedicated video hosting services.To autoplay a video hosted on Dropbox when it's scrolled into view on your Webflow site, you need to address two key limitations: Dropbox doesn’t provide reliable direct media embedding, and Webflow requires a specific setup for autoplay and interaction triggers.
www.dropbox.com/s/...
to dl.dropboxusercontent.com/s/...
), but autoplay may still be blocked or inconsistent.<video>
element with autoplay and muted attributes.<video src="https://dl.dropboxusercontent.com/s/yourfile.mp4" autoplay muted playsinline></video>
<video>
elements with interactions, so you’ll need custom JavaScript..play()
.Below is an inline-friendly script for your video with ID #myVideo
:
Add an ID to your video tag:<video id="myVideo" src="..." muted playsinline></video>
Then add the following custom code in your Page Settings > Before
tag:
`
`
This ensures the video only plays when 50% or more is visible.
To autoplay a Dropbox-hosted video on scroll in Webflow, convert the Dropbox link to a direct MP4 URL, embed it with a <video>
tag using autoplay and mute, and add JavaScript using an IntersectionObserver to trigger .play()
when the video scrolls into view. Dropbox may still cause reliability issues, so using a proper video hosting solution is recommended.