DailyJS
Published in

DailyJS

Lazy Loading Video Based on Connection Speed

A large video hero can be a neat experience when done well — but adding video capability to the homepage is just asking for somebody to go in and add a 25mb video and throw all your performance optimizations out the window.

Lazy pandas love lazy loading. (Photo by Elena Loshina)

I’ve been on a few teams who wanted to do one of those full-screen background videos on the home page. And I’m usually not too thrilled to do it because how often…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ben Robertson

I write about front end web development, accessibility, and remote work. ✍️ Writing at: https://ben.robertson.is. 🛠 Working on: https://frontendremotejobs.com.