GIFs Are Forever, Let’s Make Them Better!
summary
GIFs are 30 years old on the web but swapping formats cuts size and raises quality — a Homer Simpson GIF that is just under 1 MB becomes a fraction of that when recaptured and encoded as WebP and AVIF. Replace images with video for playback controls using MP4 (H.264) and WebM (VP9) and serve format fallbacks with picture/source. Implement a 25‑line web component (about 514 bytes, ~304 bytes gzipped) that toggles autoplay on prefers‑reduced‑motion and restores alt text; it works and respects live preference changes.
AI-written summary · about
