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

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Very little changes: developers get one more small open web component for lazy-loading GIFs, useful but not consequential to the field.

Read this as

Simon Willison published a small reusable web component called <click-to-play> on 17th June 2026. It turns a still image that links to an animated GIF into a click-to-play player, so the heavy GIF only downloads when someone actually wants it. Without JavaScript it degrades to a plain link. No adoption figures, pricing, or availability details are given.

This is a minor engineering utility, not a business event. Willison's <click-to-play>, posted 17th June 2026, cuts page weight by delaying GIF downloads until a user taps, and was built for his Datasette post. No cost, market, or competitive impact is stated, so it warrants no decision-maker attention.

The <click-to-play> web component wraps an image-plus-link, falling back to a plain GIF link without JavaScript. Once defined, it intercepts the click, preloads the GIF off-screen, swaps it in starting at the first frame, and toggles back to the still on a second tap, with play/loading/error states exposed. Source is published with a copy button on the demo page; no browser-compatibility data is given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

<click-to-play> Datasette WorkOS Pyodide

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.