Optimize the video, preserve a poster and fallback, and verify crop, motion, loading, and text readability at every intended breakpoint.
CMS Max background video can use uploaded MP4 and WebM sources, muted inline autoplay, optional desktop and mobile files, and a reduced-motion fallback.
Prepare the files
- 01Export web-ready sources. A tool such as HandBrake can create compatible outputs; source complexity and quality determine file size.
- 02Upload through the CMS Max media workflow. Record the final media URLs and poster image.
- 03Replace the existing sources. Keep MP4 as a broad-compatibility source and add WebM when the workflow supports it.
- 04Use muted, playsinline autoplay only for decorative motion. Do not autoplay essential audio or instructions.
- 05Test performance and fallback. Include mobile data, reduced motion, a failed video request, and text contrast over representative frames.
Responsive source example
<video autoplay muted loop playsinline class="hidden h-full w-full object-cover md:block" poster="POSTER-URL">
<source src="DESKTOP-URL.mp4" type="video/mp4">
</video>
<video autoplay muted loop playsinline class="h-full w-full object-cover md:hidden" poster="MOBILE-POSTER-URL">
<source src="MOBILE-URL.mp4" type="video/mp4">
</video>
