Guides

Video backgrounds for hero sections, builder by builder.

How to put a looping video behind your headline, the native way and the custom-code way, with the limits each platform doesn't tell you up front.

Explainers

Transparent video backgrounds on the web: WebM alpha vs HEVC alpha

Which browsers play transparent video, why you need two files (VP9-alpha WebM and HEVC-alpha MOV), how to serve the right one, and how to encode both.

Will a video background slow down my website?

How big a hero video should be, which formats to use, and the five settings that keep a video background fast: poster, reserved space, autoplay attributes, pausing and reduced motion.

Video loop vs WebGL vs Lottie vs Spline for hero backgrounds

An honest comparison of four ways to animate a hero section: pre-rendered video, real-time WebGL (Three.js), Spline scenes and Lottie animations, by look, interactivity, effort and cost to the visitor's device.

Builder guides

Webflow

How to add a video background to a hero section in Webflow

Use Webflow's Background Video element (under 30 MB, auto-transcoded) or a Code Embed for full control over formats, poster and reduced motion.

Framer

How to add a video background to a hero section in Framer

Add a Video layer behind your hero content, keep it under about 5 MB with a poster image, or use an Embed for custom code.

WordPress

How to add a video background to a hero section in WordPress

Use the Cover block with a video, full height and a poster image, or a Custom HTML block when you need your own formats.

Shopify

How to add a video background to a hero section in Shopify

Horizon's Hero section takes a looping video natively; Dawn doesn't, so use a Custom Liquid section with a video tag.

Squarespace

How to add a video background to a hero section in Squarespace

Set a section's background to Video (MP4, M4V or MOV, up to 60 seconds) with a mobile fallback image, or use a Code Block on Core and higher plans.

Wix

How to add a video background to a hero section in Wix

Set a strip or section background to video in Wix Editor or Wix Studio, and remember to turn it on for mobile. Custom code runs in an iframe or needs Premium.

Next.js

How to add a video background to a hero section in Next.js

Render a muted, inline, looping video behind your hero in a React component, set muted on the element so iOS autoplays it, and reserve its space to avoid layout shift.