4 ms·
Why bother with gif these days, and why in the browser?
by arcameron 12y ago
Why bother with gif these days, and why in the browser?
- DINKDINK 12y agoTo those downvoting, what use cases make GIFs better than HTML 5
- arcameron 12y agoI don't follow your comment, but I should have been more explicit: gif is a waste of bandwidth compared to a soundless webm
- Wilya 12y agoGifs work everywhere. They're heavy, but support is pretty much guaranteed. That's still not the case for webm.
- arcameron 12y agoIf you're OK with screwing over Safari/IE users, you'll have pretty good support. You could engineer a browser-based fallback to gif, but honestly I wouldn't bother. I'd imagine we can create an impetus to support it if we actually used it more
- userbinator 12y ago...and webm is a waste of CPU and memory compared to gif :-) There are always tradeoffs.
- inspiredjw 12y agoGIFs are better on legacy browers
- ubercow 12y agoLots of social media sites (like Google+) have much better gif support over things like webm. With G+, webms take like 15 seconds to open their fullscreen viewer, click play, wait for buffering, then watching it. Gifs just play right in the stream. I'd personally love to see wider range support for animated webps, but I doubt that's going to happen for a long time, if at all.
- scrollaway 12y agoJust because it's a crappy, outdated format doesn't mean a gif.js isn't useful. That said, please don't use gifs. Use hosts like https://mediacru.sh/ https://mediacru.sh/ that convert them to videos. Please.