avatar
Lea Verou, PhD @lea.verou.me

🔥Hot take: Animated gifs are basically muted videos and should be allowed in

aug 2, 2025, 1:36 am • 45 0

Replies

avatar
Marko Bajlovic @marko.tech

I’d allow it

aug 2, 2025, 1:38 am • 0 0 • view
avatar
Christian Oliff @christianoliff.com

Animated GIFs are a terrible format created a very long time ago (1989?) with huge file sizes, limited color palette. It’s really best to avoid using them altogether I think.

aug 2, 2025, 2:01 am • 6 0 • view
avatar
Harry Pujols @harrypujols.com

They still exist for a reason

aug 2, 2025, 3:25 am • 0 0 • view
avatar
Dean Leigh @deanleigh.bsky.social

We used to create tiny file sized animated gifs. There were plenty of optimisation options as well as Delta Frame Encoding and using gifs in combination with Image Maps made efficient interactive elements. Of course this all was replaced by Flash and we know how that went.

aug 2, 2025, 6:07 am • 0 0 • view
avatar
Lea Verou, PhD @lea.verou.me

I would, but there’s always user-generated content

aug 2, 2025, 2:52 am • 1 0 • view
avatar
mb21 @mb21.bsky.social

Transcode them, just like we do for images?

aug 2, 2025, 7:16 am • 0 0 • view
avatar
Nathan Knowler @knowler.dev

Would you want that for play/pause functionality? On the flip side, I wish more browsers supported video files in tags (like Safari does).

aug 2, 2025, 1:40 am • 1 0 • view
avatar
Lea Verou, PhD @lea.verou.me

That plus control over autoplay, looping, playback rate, etc etc. But also because they #gifsAreVideos and the media typism must end 😅 Videos in is practically sugar over right? Is it just about not having to branch or can it do anything doesn’t?

aug 2, 2025, 1:50 am • 1 0 • view
avatar
Nathan Knowler @knowler.dev

This is quite dated, so I’m not sure about the preloading advantage is true (especially since `preload` attribute is a thing). calendar.perfplanet.com/2017/animate...

aug 2, 2025, 1:58 am • 2 0 • view
avatar
Lea Verou, PhD @lea.verou.me

Oooh we should bring this to

aug 2, 2025, 2:01 am • 2 0 • view
avatar
Barry Pollard @tunetheweb.com

Still true. And in fact worse as fetchpriority and loading=lazy is not supported for . Loading=lazy would be good to bring to (though need to think through with preload) but fetchpriority I’m not so sure. I still like for gif-like short-form “videos” and wish we supported it.

aug 2, 2025, 8:16 am • 2 0 • view
avatar
Andy Davies @andydavies.me

And Chrome should support muted video in images as Safari does but alas issues.chromium.org/issues/41359...

aug 2, 2025, 8:37 am • 0 0 • view
avatar
Adam @akdetrick.bsky.social

If you can stream a video you can stream infinite frames

aug 2, 2025, 1:50 am • 0 0 • view