
Does a background video slow down a website, even when its PageSpeed performance score stays in the 80s, as ours did while the page weighed about 8.9 MB? It can. Our homepage, spongelabs.io, plays a short video behind the headline. In October our weekly site review flagged the page as heavy, so we rebuilt how the video loads and measured the page before and after.
Does a background video slow down a website?
The old hero used a video tag that played one MP4 file automatically, on a loop, muted and inline. That file was 8.7 MB at 1920x1080, and every visitor got it, whether they were on a large monitor or a phone. There was no poster image, so the browser had nothing to show in that space until the video itself arrived.
Our weekly review runs Google's PageSpeed test on the mobile homepage. On October 15 it reported that the page transferred about 8.9 MB, a figure that "includes anything that auto-plays," and that the hero video was by far the heaviest request. The next largest items were about 0.1 MB each, which left our page at more than three times the median mobile home page of about 2.6 MB in the HTTP Archive's 2025 Web Almanac.
Why the speed score didn't flag it
The October 15 performance scores were 83, 81, 86 and 82 across four runs. After the fix, they were 83, 81, 81 and 84. The page got roughly nine times lighter, and the score barely changed.
Lighthouse, the tool behind PageSpeed, says that "only metrics contribute to your Lighthouse Performance score, not the results of Opportunities or Diagnostics." The score comes from five measures of timing and stability, each with a set weight:
- Total Blocking Time: 30%
- Largest Contentful Paint: 25%
- Cumulative Layout Shift: 25%
- First Contentful Paint: 10%
- Speed Index: 10%
In Lighthouse's own configuration, the total page-weight check carries a weight of zero in the performance category. So a page can score in the 80s and still send several megabytes to every phone that opens it. Lighthouse describes the cost of that weight: "Large network payloads are highly correlated with long load times. They also cost users money; for example, users may have to pay for more cellular data."
How to check your own homepage
You don't need to be a developer to check.
- Run PageSpeed Insights on your homepage and look past the score. Check the total page size and the list of the heaviest requests. If an .mp4 file heads that list, the video is the largest single file your page sends.
- Check whether phones get a separate file. If one large widescreen file goes to every device, phone visitors download a desktop-sized video.
- Check for a poster image. According to MDN, without a poster attribute "nothing is displayed until the first frame is available." On a slow connection, that means an empty hero.
- Check for a pause button. Under WCAG 2.2, moving content that starts on its own, lasts more than five seconds and runs alongside other content needs a way to pause, stop or hide it.
How we kept the video and lightened the page
We kept the video when we rebuilt the hero, and the new version went live on October 17.

A poster image comes first. The page's HTML includes a still frame for each screen size: a 1280x720 image of about 84 KB for wider screens and a 432x768 portrait image of about 29 KB for phones. The browser shows it right away, before any script runs.
The video loads only after the page does. The video tag has preload="none" and no file attached in the HTML. Once the page loads, a short script checks the screen width and attaches one file.
Each screen size gets its own file. Screens 768 pixels wide and up get a 960x540 version of about 1.5 MB. Narrower screens get a 432x768 portrait crop of about 480 KB. Both are 13.72 seconds long, encoded as H.264 with no audio track. The phone file is about one eighteenth the size of the original, and the desktop file about one sixth.
Each video starts on its poster frame, so visitors don't see a jump when the video replaces the still image.
Reduced motion means no video. Phones and computers have a setting that MDN describes as a way to "minimize the amount of non-essential motion." When a visitor has it turned on, our page shows only the poster and downloads no video.
The hero has a pause button. Our loop runs past the five-second mark in the WCAG 2.2 rule, so a pause and play toggle sits in the hero's top-right corner.
Every hero file has a size limit. Our build test fails if any of these files goes over its limit:
- Desktop video: 2,500,000 bytes
- Phone video: 500,000 bytes
- Desktop poster: 90,000 bytes
- Phone poster: 40,000 bytes
That keeps the hero files from quietly growing again.
The video has no audio and plays muted and inline. MDN notes that "modern browsers block audio (or videos with an unmuted audio track) from autoplaying," while Chrome says "muted autoplay is always allowed." On iPhone, Safari lets a video autoplay if it has no audio track or if it carries the muted attribute. Without playsinline, playback on iPhone requires fullscreen. If a browser still refuses to autoplay, our page keeps the poster on screen.
What we measured afterward
We then checked the page in a browser:
- In a 1440x900 desktop window, only the desktop poster and the desktop video loaded.
- In a 390x844 phone window, only the phone poster and the phone video loaded.
- With reduced motion turned on, one poster loaded and no video.
Layout shift was zero, and the Largest Contentful Paint element was the poster. Largest Contentful Paint counts a video by "the poster image load time or first frame presentation time," whichever comes first, so a small poster gives the browser something to paint early.
PageSpeed's reading of our mobile homepage went from about 8.9 MB to 1.0 MB, and it has stayed at 1.0 MB in every weekly review since, through November 1. Accessibility stayed at 96 throughout.
When we replace a video, the new file gets a new name. Browsers keep our video files for four hours, so if we reused a name, a returning visitor's browser could play the old cached video under the new poster.
Should you keep your background video?
Usually, yes. The trouble on our page was one 8.7 MB file sent to every device with nothing on screen while it loaded. If your PageSpeed report lists a video as its heaviest request, start with a poster image and a separate, smaller file for phones.
We start every engagement with an audit. If you'd like us to look at your homepage, including what your hero video costs your visitors, request an audit or send us a note, or call us at (727) 939-5227. We read every message and reply within one business day.