4 ms·
Please don’t put a 10MB GIF in a page. Link to it instead, or better still to a video (GIF is an irredeemably bad format that no one should ever use any more).
by chrismorgan 6y ago
Please don’t put a 10MB GIF in a page. Link to it instead, or better still to a video (GIF is an irredeemably bad format that no one should ever use any more).
- khangnd 6y agoAnd what are you talking about?
- r6203 6y agoHe's talking about the gif in the Github repo.
- gen_greyface 6y agowhat else do you suggest as an alternative to GIF.
- jansan 6y agowebm supports animations.
- chrismorgan 6y agoIt’s a video. Video formats are designed for this sort of thing.
- g0ran 6y agoYup, screenshot or two with links to 'see it in action' is much better way to go.
- dspillett 6y ago> GIF is an irredeemably bad format that no one should ever use any more IIRC there is no other option if you want to include animation in a GitHub readme, as it will only include image formats inline that way. Otherwise you could use a video, which for this content would likely be larger but would have the advantage of being able to not auto-play. Of course "don't include animation at all" would be a valid opinion, though not one likely to meet with universal agreement.
- davidmurdoch 6y agoYou can put animated svgs in github markdown.
- dspillett 6y agoI'm not sure that would help here. How would the author easily create so an SVG from the recording of his app/component in action? Naive conversion will result in something much larger than the gif so not address the original complaint of "large chunk of auto-download/play content on the readme page".
- davidmurdoch 6y agoSorry, I was just responding to your comment on general: > IIRC there is no other option if you want to include animation in a GitHub readme Not the parent. In any case, I wonder if it can be done with an embedded `video` tag. Maybe if the video is data URI encoded it could work?
- mzs 6y agoYou can use video on git hub pages (.io) instead.
- belval 6y agoI much prefer 10MB GIF in the README than looking around for a link to a video. It's not even slow to open, by the time I was had scrolled to it, it was running and to me the experience was seamless.