Why autoplaying video hurts performance
An autoplaying video downloads megabytes before the visitor asked for anything. Use a poster image and play on click.
Step by step, with screenshots: Motion and prefers-reduced-motion: animations that respect the visitor →
Check your own site
Runs this check and the other 186, free, in about 45 seconds.
What a passing site looks like
- No video starts playing automaticallywarning · −0.5 ptseffort S
Autoplaying video
Why it matters. Autoplaying video downloads megabytes before the visitor asked for anything, drains phone batteries and makes the page move while people try to read it.
- Remove the autoplay attribute and show a poster image with a play button instead.
- If a background video must autoplay, keep it muted, under 1 MB and use prefers-reduced-motion to disable it.