The Chonkerton

<click-to-play> — a still that plays

dev_tools

Simon Willison has released click-to-play, a lightweight Web Component that transforms heavy GIFs into on-demand content. Instead of auto-loading entire GIF files, users see a still frame with a play button—the full animation loads only when clicked. It's progressive enhancement at its finest: works in older browsers too, and saves bandwidth for visitors who don't actually want to watch every animated meme on your page.

Source: https://simonwillison.net/2026/Jun/17/click-to-play-compo...

Listen to this story

Hear this and more stories in a personalized audio briefing.

Open The Chonkerton