16 ms·
Serve Videos Instead of GIFs
- thereyougo 7y agoI mean I like GIFs, but when I'm checking specific subreddits or going over Imgur frontpage. Companies are using too many GIFs nowadays in their blogs.
- bsanr2 7y agoI'd really rather not we go down the rabbit hole of "class"ifying websites by their method of serving animated clips. GIFs have trade-offs, but on balance they're the most useful for their purpose.
- bsanr2 7y agoCan't edit, but if this seems non sequitur, parent originally said something along the lines of, "Websites that use GIFs seem to have low-quality content."
- zozbot234 7y agoNo thanks, my "This Site Under Construction" pixel art would look awful as a video. And last I checked, video didn't even support transparency!
- the8472 7y agoTransparency is supported now. https://codepen.io/pbhj/pen/dyPzwEj https://codepen.io/pbhj/pen/dyPzwEj
- garaetjjte 7y agoMost video codecs have lossless modes.
- slavik81 7y agoHow do you create a lossless video from a GIF (or a series of images)? I think I've figured out how to do it for H.264 with ffmpeg, but I don't know how to do it for H.265 or AV1. The main problem I've been encountering is that everything seems to be based on YUV, which makes it difficult to round-trip RGB data without loss.
- ubercow13 7y agox264 has an RGB mode that avoids this but I don't think the resulting files would be playable in any browser
- slavik81 7y agoYeah, that's the best solution I've found for truly lossless conversions, but for wide compatibility the only real choices seem to be animated image formats like GIF or APNG. I started looking for lossless because my screen captures looked like absolute garbage even at high bit rates, but in retrospect, I bet the problem was the downscaling done by the 4:2:0 chroma profile. It might be that 4:4:4 would fix the awful appearance.
- tenryuu 7y agoThere's always going to be a case of when using the gif file format is perhaps the best choice for the job. Like all things considered, a limited palette, reasonable canvas size, the use of a transparency bit instead of a channel. You still have a chance to use an animated gif that's smaller than both the webm and webp variants. Because while it still is possible to create a lossless webp file, the codec is completely different and will store data significantly different, and in the certain use cases, can be less effecient
- arkanciscan 7y agoServe videos as videos. Photo data compresses better with Jpeg. But gifs are still a better option for animated illustrated graphics.
- deleted 7y ago[deleted]
- bilbo0s 7y agoProper tool for the proper job. You don't shovel snow with a hammer. That doesn't mean a hammer is not useful when engaging in carpentry. (Just to close the loop, you can use a shovel to do carpentry, but a hammer would be much better.)
- dominiclooser 7y agoIt would look very funny if you would shovel snow with a hammer ;)
- junaru 7y agoWhy is JPEG the de facto lossy compression format for photos? It always bugs me that video formats get something new every 5 or so years yet photos are in JPEGs for decades.
- pridkett 7y agoiOS has been slowly making HEIF more common. It’s just that it takes a long time for the entire tooling chain to support it.
- birktj 7y agoIsn't this exactly what animated WebP [1] is supposed to address? [1]: https://en.wikipedia.org/wiki/WebP#Animation https://en.wikipedia.org/wiki/WebP#Animation
- the8472 7y agoYou might as well use APNG then, which is more widely supported too.
- thayne 7y agoI believe webp images are generally smaller in size.
- the8472 7y agowebp comes in lossy and lossless flavor. unless you want to degrade the gifs you would have to pick lossless and in that case it's not a clear win over apng even if we ignore the compatibility question.
- johncolanduoni 7y agoA lossy 24-bit color webp image (which is encoded with VP8's intra-frame compression) is likely to look better than a 8-bit color palette lossless gif.
- Silhouette 7y agoServing videos instead of GIFs is easy to do now with the HTML video element, which is supported almost universally I respectfully disagree. Loading videos instead of GIFs is easy to do now. Serving videos is a nightmarish mess of trying to match divergent, incompatible, sometimes patent-encumbered "standards" against an ever-changing range of browser support taking into account the hardware capabilities of a vast range of different devices and the corresponding rendering costs, decoding costs and bandwidth considerations based on incomplete and sometimes contradictory documentation from dozens of different sources that will be out of date by the time you've finished reading this paragraph. One of these is not like the other, and that's why GIFs are still so prevalent.
- Ayesh 7y agoVP8 in a WebM container is pretty much the lowest bar for most browser support, and comes with no licensing requirements. I'm not disagreeing with the comment about "nightmarish mess". It indeed is one, specially when it comes user-uploaded content.
- MrStonedOne 7y agoI think they are talking about the webserver side requirements for streaming video so the browser will play it.
- prox 7y agoIsn’t it mp4? That is pretty universal and displays well in all platforms. Webm isn’t that ubiquitous in support.
- antoineMoPa 7y agoMaking small gifs is an art: Dithering, color quantization, sub frames that don't move, etc. However I must agree that for most content shared online, video is more efficient.
- Hamuko 7y agoSmearing shit on a wall is also art.
- whyleyc 7y agoNo. Not everything is about increasing in efficiency. GIFs are a throwback to the charm and chaos of the early days of the web, and I hope they stay part of the fabric of it long into the future.
- junaru 7y agoI would be happy if i got 2mb GIFs these days. You click on something that ends with gif or mp4 and you get half a megabyte of tracking javascript instead of the file you expected.
- m463 7y agoexactly. gif is a choice about the limitations of what can happen. A gif will play and repeat with NO SOUND POSSIBLE.
- nikanj 7y agoImagine a browser prompt for ”This site would like to play audio” alá ”This site would like to send you notifications” Too bad that would break Youtube, so Chrome will never deliver it
- anchpop 7y agoUsers having to click a prompt once to turn on audio would break youtube?
- rvnx 7y agoChrome is doing it on mobile to decide whether media should autoplay, except YouTube gets whitelisted by the heuristic (which they tuned for YouTube obviously)
- kadoban 7y agoIf the browser has a memory per-site it doesn't break youtube. It could easily be made to work.
- ken 7y agoThat sounds awesome. Maybe not as a 'prompt' (those are awful, and don't scale), but some mechanism for requiring the user to confirm their intent to allow it. Web browsers are the first real application sandbox that most people have experience with. It's a really good one. There's this rectangle on the screen, and there's a label at the top that says who delivered the content, and everything it can do happens inside that rectangle. Any way it wants to escape that box ought to require my approval.
- lxe 7y agoI can't right click / long tap and copy and paste a video into another app
- masklinn 7y agoThat’s really an application issue, but god damn is it an annoying one.
- joemi 7y agoGifs (and videos that people call gifs) wouldn’t be what they are today if it weren’t for their ease of copying/saving and pasting/uploading to somewhere else, which you could similarly call an application feature. So this application issue with video (as implemented in this article) is almost certainly what will stop gifs from being replaced.
- sp332 7y agoThis only worked properly in Firefox since 2016 https://bugzilla.mozilla.org/show_bug.cgi?id=664717 https://bugzilla.mozilla.org/show_bug.cgi?id=664717 so that's probably not it.
- guerrilla 7y agoI'm pretty sure I was able to right-click save gifs all the way back to Netscape...
- sp332 7y agoYou can also right-click save the videos in the article right now. What I meant was copy and pasting GIFs.
- joemi 7y agoExcept it is... The first thing I did when I read the article on my phone was try to save the videos, copy the videos, or copy the links for the videos in the article. I was unable to do any of those actions. I firmly believe that for it to overtake the gif, doing those actions with video on popular phones needs to be as easy (if not easier) than with gifs.
- percentcer 7y agoIf videos looped seamlessly I'd happily serve videos. Sadly, they do not.
- manigandham 7y agoThey can, and they do. This article shows you an example at the end. What's the issue?
- FalconSensei 7y agotried to drag and drop and didn't work. Also, if I save to share later, it's not going to work, and I would need to do the same things the author did to make it work. It's not guaranteed that it will work properly (with auto loop) everywhere. And if you consider browsers/extensions might block auto-playing videos in the future... gif just works. Drag and drop anywhere, any browser, any app, and it works. (Ok, almost anywhere, but still way more accepted than video).
- egfx 7y agoSadly it would be great if it were true but the finer details are that you cannot today drag and drop a gif from a website into another one or copy it to your clipboard and paste it elsewhere on the web. Even though it’s in the W3C clipboard specs https://www.w3.org/TR/clipboard-apis/#reading-from-clipboard https://www.w3.org/TR/clipboard-apis/#reading-from-clipboard, Chrome doesn’t support it. I tried to implement this but it will only show one frame and convert it into a static image and drop the transparent pixels. You can save it directly to your computer though.
- manigandham 7y agoVideo as a file usually works, it's the presentation/player part that is entirely dependent on whatever application and OS you're using to view it. Most messaging apps now support video pretty easily so there's some progress being made.
- 7y ago
- MrStonedOne 7y agoI'm still very much in the camp that moving pictures are distinct from video, and am eagerly waiting for a good replacement animated picture format before I move my website over to it. apng could have been nice, but never took off.
- xeeeeeeeeeeenu 7y ago>apng could have been nice, but never took off. There's nothing stopping people from using APNG. All major browsers have been supporting animated PNGs since 2017 (which was the year when Chrome finally added support for them).
- RobLach 7y agoThe article compares a single img tag with a single gif src url to a video tag with 2 child nodes linking to 2 separate files encoded with 2 different ways, as mp4 and webm. That’s already more than 2x as much work to post an animated image, not to mention limited support for transparency and needing to pay some extra attention for seamless looping. Video on the web needs to mature quite a bit more.
- dylan604 7y agotsk tsk. it's not like someone is going to need to write all of that HTML. some user will be doing this with twitter/IM/FB/etc where some dev will have implemented a node library that will have some method call to do this for you. it's not like anybody cares what the automated HTML in the background looks like.
- RobLach 7y agoYes, exactly. All that needs to be built still. I can't just copy and paste a video into my messenger app for instance, which I have been able to do with gifs for ages.
- robbrown451 7y agoTrue but the story is posted at HN, and there is a good chance one of your messenger app's devs or designers is reading it and saying "maybe we should add that bit of code".
- pmarin 7y agoI don’t know what Twitter does with the gifs but it freezes my old netbook when I try to play them. I can play videos from youtube but I can not play a gif on Twitter!
- FalconSensei 7y agoThey convert it to video
- RobLach 7y agoStrongly rebuts the case of the article if truly the cause.
- FalconSensei 7y agoIn case of twitter, there's an important difference in uploading video vs gif. Although a gif is converted to video, it will autoplay and loop without any user control available, just as it was a gif (sadly, you can't download/drag as a gif). If you upload as a video, if will behave like regular video
- pmarin 7y agoBut It doesn’t explain why I don’t have the same problem playing videos on Twitter.
- thunderbong 7y agoIn addition to what @junaru mentioned [0], about copying pasting GIFs, I would also add that I can send GIFs easy in emails and be assured it will be rendered in the email for the recipient. Unlike videos, people don't have to click multiple times to see them. I've found this very convenient in sending small clips of screen recordings using ScreenToGif [1]. Of course, what would be really nice is if one could play / pause the GIF! [0]: https://news.ycombinator.com/item?id=23207292 https://news.ycombinator.com/item?id=23207292 [1]: https://www.screentogif.com/ https://www.screentogif.com/
- brainzap 7y agothe videos don't play in safari, also there is no way to play them for me. They need a click handler with play().
- FalconSensei 7y agoAnd if you need to add a play handler, it's not a gif...
- fastball 7y agoVideos play just fine for me in Safari on MacOS.
- alixanderwang 7y agoThe ffmpeg command will default produce one that can only be decoded on Chrome. You should specify a codec supported by most browsers (`-c:v libx264`).
- forgotmypw17 7y agoThank you very much for posting that. I've been trying to figure out how to do that for a while.
- jazzyjackson 7y agoI've also learned that -pix_fmt yuv420p is necessary, changes the colorspace from RGB to YUV The full git gist (not mine): https://gist.github.com/ingramchen/e2af352bf8b40bb88890fba4f47eccd0 https://gist.github.com/ingramchen/e2af352bf8b40bb88890fba4f...
- bertman 7y agoIf ffmpeg has been built with libx264 support, than this is the default encoder for mp4 video.
- FalconSensei 7y agoI already said that before and I'll do it again: it won't work until we make videos act like gifs, which act like images. The video per se won't loop if I save it in my computer or phone. I can't drag and drop, right click, long tap. To have anything replacing gif you need THE EXACT SAME BEHAVIOUR, EVERYWHERE. It doesn't matter for the consumer whose fault it is: encoding, the app, how the file is created. The user uses it, they don't care how it works. They will use whatever have the same behaviour.
- forgotmypw17 7y agoI use a chrome-based browser, but because it's missing some component, probably due to stupid DRM crap, most videos on most sites don't play for me. However, some of them do work. I don't feel like I'm missing much. But GIFs are certainly way more usable than video. I'm also writing web-based forum designed for backwards compatibility with older browsers, so GIFs will always be the default for me.
- wegs 7y agoChrome has insane behavior where it will only autoplay videos from web sites Google trusts. If I put a video on my own web site and domain (muted, autoplay, etc.), it won't autoplay. If I put a gif up, it will. Google claims this doesn't apply to videos with muted, but at least in my Chrome, it does. Muted-by-default makes complete sense to me. I hate it when a web site makes noise. But no autoplay (even muted) is broken. So is having Google act as the arbiter of which web sites get to autoplay (Google's Youtube) and which ones don't (my personal domain). That's a huge conflict-of-interest and hugely anti-competitive behavior right there. It crushes the little guy. Disclaimer: Google claims this is based on some kind of objective metrics.
- Pxtl 7y agoConsidering the noisy ads on some websites I visit, I believe they're using some other metric. But the metric is bad.
- coronadisaster 7y ago
- egfx 7y agoHold the mic drop. Those that claim videos are superior over GIF's will never understand. The only benefit that a video tag has over a gif is a smaller file size. Animation's and meme's, cinimigraphics and simulations are more than simply video. How about for all other animated graphics? And file size is increasingly becoming less and less of a factor at all. (disclosure: I built https://gif.com.ai https://gif.com.ai)
- tasty_freeze 7y agoAs someone who frequently works from a hotspot, where 1GB of data costs $5 - $10 per GB (depending if I load up when it is on sale), smaller file size saves me money, and pages load faster.
- ken 7y agoNot just smaller file size. Drastically smaller file size. I've never been on a network so fast that I couldn't appreciate a 97% savings in bandwidth usage. A sufficiently large quantitative change becomes a qualitative one. This is one of those times.
- antigirl 7y agoThe image quality of that mic drop is amazing. I’ve only ever seen that in a compressed gif. Reminds me of when I first seen a retina screen
- swebs 7y agoThe biggest advantages of videos to me are the controls. I absolutely hate the fact that I can't pause GIFs and have to deal with them flashing in the corner of the page as I'm trying to read.
- goatsi 7y ago>(disclosure: I built https://gif.com.ai https://gif.com.ai) That site completely freezes when opened in Firefox. I can't even select it if I opened it with a middle click, and I need to right click on it and and select close tab to kill it. (Firefox 76.0.1 (64-bit), Windows 10)
- drenvuk 7y agoOne important thing that was not mentioned in the article: gifs automatically play and are not easily stopped. Videos have more knobs on the client side to tweak whether it plays or not. If I use a gif, I know with great certainty that unless all images on the client are blocked they are going to see my animated content. There are tons of extensions and browser features out there that attempt to stop that feature from videos.
- worble 7y agoGood? Should the user not be able to decide how something plays on their own machine?
- Mindwipe 7y agoIt's about defaults.
- chrismorgan 7y ago1. Users have bandwidth limits. (And videos are big.) 2. Users hate constant motion on the page. (And videos have constant motion.) 3. So users stop videos from playing automatically. 4. Publishers want the video to play, so they stop using a proper video format, and use the GIF format, which produces even bigger files, and prevents users from stopping the motion. Something’s horribly broken here. I really want browsers to let me treat GIFs as videos and block autoplay. Typical usage of GIFs is flatly obnoxious.
- mistersquid 7y agoThe OP calls out a thoughtfully-designed, open source, screen recording software, Kap. [0] Even though Kap does not have annotation tools, I think it compares well with software recently featured on the front page of HN. [1] [0] https://getkap.co https://getkap.co [1] https://news.ycombinator.com/item?id=22815227 https://news.ycombinator.com/item?id=22815227
- vxNsr 7y agoZappy, an offline screen capture tool requires an online account to use. The CEO's answer is "we wanted to make it available quickly." not sure why that means I need an account.
- sildur 7y ago“ A single GIF can be larger than a typical website (over 2 MB).” Not larger than today’s websites, that’s for sure.
- jedberg 7y agoNot sure why he put this at the end: > One final note: according to Wilhite, GIF is pronounced with a soft “G,” like “jif.” That settles the never-ending debate for me. Now all he's done is make 1/2 of the population immediately discount everything else he said, regardless of its merit.
- dguo 7y agoAuthor here. I added the "for me" to try to convey that it's a personal choice. I don't care what pronunciation others use. In this case, it doesn't bother me if someone chooses to discount what I wrote just because of that statement. That's on them. I know it doesn't add much to the post. I just really liked the video of him accepting the Webby award. It was nice to see the person behind the technology, and I like letting creators decide things like pronunciation and casing. For example, I always make sure I spell "GitHub" instead of "Github" for no reason other than that's how they spell it themselves.
- julianeon 7y agoI took it as a fun throwaway comment, which you tacked on to the end. Whatever way you pronounce it, the important thing is to realize that videos have advantages over gifs that you should always keep in mind - which came through loud and clear.
- WalterBright 7y ago>> One final note: according to Wilhite, GIF is pronounced with a soft “G,” like “jif.” That would be correct if GIF stood for "Gerbil Interchange Format" rather than "Graphics Interchange Format".
- saghm 7y agoI've never understood that argument; why would an acronym need to preserve the exact sounds of the letters in the original words? I don't think it's very uncommon for them not to. "UNICEF" is not pronounced "yoo-ni-chef", "POTUS" is not pronounced "po-thuss", "OSHA" is not pronounced "oss-huh", etc.
- ngoel36 7y agoI use GIFs because I want videos that act like images, not videos. GIFs I can copy & paste, and I know that they'll infinitely loop without ever showing a play/pause button. Yes, videos are smaller, but I'm unfortunately stuck with GIFs until videos work well in Google Slides and iMessage (which also means I'm also stuck with Google Slides presentations always on the verge of crashing...)
- chrismorgan 7y agoMeanwhile, I really wish I could instruct my browser to treat GIFs as videos, and load only the first frame and show controls if I wish to actually play it. Because >99% of GIF usage that I encounter is abuse of the format.
- adrianN 7y agoFirefox has image.animation_mode on top of which one could probably build an extension that does what you want.
- k__ 7y ago4chan, 9gag, etc. already do this for years with great success.
- cyberowl 7y agoCan you embed video in email and have it play by default? Can you drag and drop videos onto your desktop to save? Can you upload videos anywhere that accepts an image? Can you loop and make sure it always plays on a webpage? If no, I'm not using video. No one gives a crap about your technical specs. Videos suck as a user interface.
- surround 7y agoGifs suck as a user interface. It’s not just the huge file size, they also - Must load entirely before playing (whereas video formats can load as they play) - Don’t show any progress/buffering icon while they load, so it just looks like the page has frozen - Lack the ability to skip/scrub through the video (if I miss a part, now I have to wait the entire thing to loop) - Don’t have audio Actually, these aren’t really issues for short gifs (<5 seconds). But long videos which have been converted into gifs are quite common.
- jsjohnst 7y ago> Actually, these aren’t really issues for short gifs (<5 seconds). But long videos which have been converted into gifs are quite common. Anybody doing the latter is the problem, not really the format’s fault it’s being used improperly. Any GIF with more than XX frames (for me that’s up to around 100 depending on content, but everyone is free to make their own decision) should be a video. GIF is meant to be for short animations, not for showing videos.
- Dylan16807 7y ago> Must load entirely before playing (whereas video formats can load as they play) Huh? What browser are you using, that's not normally true. You can even stream live content via gif. http://gifsockets.twolfson.com/ http://gifsockets.twolfson.com/
- deleted 7y ago[deleted]
- cheeaun 7y agoI had an issue serving videos on my site before and encounter a bug where Mobile Safari won't play the video if there's no `Accept-ranges: bytes` header. The header is somehow removed when served from Cloudflare https://community.cloudflare.com/t/mp4-wont-load-in-safari-using-cloudflare/10587/25 https://community.cloudflare.com/t/mp4-wont-load-in-safari-u... I had to create a page rule to exclude videos from being served from Cloudflare CDN.
- ubercow13 7y agoI think they fixed this at some point, or at least, I have dealt with the same issue at various points and at the moment my videos work fine on iOS served through Cloudflare.
- cheeaun 7y agoOh wow you're right. I just tried disabling the page rule, load my site on Mobile Safari private mode, and it works! Looks like `Accept-Ranges` is not there but there's `Content-Range`. Not sure how this works exactly but really glad this is fixed :D
- xenadu02 7y agoPerhaps we could create an RFC for GIF21? The mistake people make in trying to replace GIF is doing too much, turning it into a wholesale replacement. Take GIF89, add intra-frame compression, lossy mode for frames, and expanded colors. If you stuffed the new format frames end the end with index numbers old clients could play the sequence at a much lower framerate without too much of a hit to file size. But you accept some further bloat as a temporary measure to push adoption. In 10 years GIF libs can stop encoding the legacy frames by default. Don't make the mistake of supporting multiple codecs or complicating the format in other ways. That just puts you in the position of APNG or other would-be replacements: mostly ignored.
- Hamuko 7y ago>Take GIF89, add intra-frame compression, lossy mode for frames, and expanded colors. If you stuffed the new format frames end the end with index numbers old clients could play the sequence at a much lower framerate without too much of a hit to file size. But you accept some further bloat as a temporary measure to push adoption. So instead of using good solutions that are already out there, we should just polish a turd instead?
- decafbad 7y agoGifiot: A person who makes animated gifs from videos.
- nl 7y agoIn addition to the well made points of client software treating videos in the same was as images, server apps need to as well. Currently there are lots of forums and other similar software that allow embedding of images (including gifs) but don't allow embedding videos.
- eximius 7y agoNothing is more infuriating than saving a 'gif' that instead gives me some obscure format none of my programs besides the browser can use. Only serve video if it's in a format as ubiquitous as Gifs.
- xvilka 7y agoAnimated WebP is the answer instead, and now it's supported everywhere [1] except Safari. Or animated AVIF in the future. [1] https://caniuse.com/#feat=webp https://caniuse.com/#feat=webp
- butz 7y agoFirefox is working on making gifs respect user selected video autoplay setting and preventing to load whole file to save bandwidth: https://bugzilla.mozilla.org/show_bug.cgi?id=1631598 https://bugzilla.mozilla.org/show_bug.cgi?id=1631598
- bryanrasmussen 7y agoI think this is a better post on the subject, and offers more in depth solutions https://cloudinary.com/blog/evolution_of_img_gif_without_the_gif https://cloudinary.com/blog/evolution_of_img_gif_without_the...
- BorisTheBrave 7y agoAny replacement for Kap on Windows? I use ScreenToGif, but maybe there's a better option.
- huhtenberg 7y ago> Each image in a GIF is limited to a color pallete of 256 colors Don't let this fool you into thinking that you cannot render a true color image with GIF! It's 256 colors PER FRAME, each of which allows for... dum-dum-dum... TRANSPARENCY. Do you see the potential or do you see the potential? Get all your colors, split into 256 groups and then render all pixels of each group as a separate frame, leaving the rest transparent. Set delay to 0 and you will have a true color GIF in no time.
- Dylan16807 7y agoSet delay to zero and it will be treated as a tenth of a second. Browsers treat delays of '0' and '1' as mistakes. The fastest a gif will go is 50fps. https://web.archive.org/web/20160318174811/http://www.humpy.demon.co.uk/da/gif_timing/ https://web.archive.org/web/20160318174811/http://www.humpy.... In the old days it was even worse. Delays under 3 or 6 or 10 centiseconds were all unreliable in some browsers. https://web.archive.org/web/20151031034345/http://humpy77.deviantart.com/journal/Frame-Delay-Times-for-Animated-GIFs-240992090 https://web.archive.org/web/20151031034345/http://humpy77.de...
- keiferski 7y agoVideos are dramatically worse on mobile, especially if you want to save the GIF/image. As far as I can tell, it is impossible to save a video to an iOS device, while saving an animated GIF is easy.
- thedonkeycometh 7y agoA video cannot be right clicked and actually creating a video for a meme is a lot more work.
- gitgud 7y agoThe .gif format is widely used due to the simplicity of implementing the specification. Although the file size is relatively uncompressed, gif's can easily be decoded and rendered on basically any device. Video formats which save 97% of space have much smarter compression algorithms, which are much harder to implement, which means less device support...less usage...
- macleos 7y agoAuto play blocking in browsers could become an issue in future though - gifs will work, while videos will popup a permission dialog (I know muted video will work fine _now_, but who’s to say that will last? There are certainly good reasons to block even muted auto playing video)
- lossygif 7y agohttp://www.lcdf.org/gifsicle/ http://www.lcdf.org/gifsicle/ https://kornel.ski/lossygif https://kornel.ski/lossygif you can also just compress user uploaded gifs serverside. but the top commenter is right, gifs are great because of they're functionality and simplicity. the better thing would be for the w3c and browsers vendors can get their act together (spoiler: they won't) and do things like make gif20, finish svg2, implement svgfonts, implement complete css3 specs, if you want to preserve functionality and usabilty of graphic assets on the web while reducing their bandwidth.
- parski 7y agoMaybe if every second application wasn't a skinned Chrome browser we'd have 2MB to spare for a GIF.