Webflow’s Background Video element doesn’t autoplay on mobile due to browser restrictions, but you can still implement HTML5 videos as mobile-friendly backgrounds by using custom code with specific attributes.
Add an Embed element from the Add Panel (hit A
to open).
Within the embed, insert a custom HTML5 video element like:
<video autoplay muted playsinline loop width="100%" height="100%">
<source src="your-video-url.mp4" type="video/mp4">
</video>
The keys here are:
autoplay: Starts playing automatically.
muted: Required for autoplay on mobile.
playsinline: Avoids fullscreen takeover on mobile devices.
loop: Repeats the video.
To add an HTML5 background video on mobile in Webflow, use an Embed element with a custom <video>
tag, ensuring it includes autoplay, muted, loop, and playsinline attributes. Host the video externally with a direct .mp4 link and use CSS positioning to make it behave like a background. Add a fallback image for better compatibility.