3 ms·
> Do not use GIFs like this. Use a proper video codec. Not a defense, but worth noting in the interest of full advice here that Github's README preview (what's
by lucideer 4y ago
> Do not use GIFs like this. Use a proper video codec.
Not a defense, but worth noting in the interest of full advice here that Github's README preview (what's showing here) does not support embedded videos, which is why GIFs are a popular choice.
That said, a good workaround for this is simply putting something like:
[](path/to/video/file/or/youtube/link)
This has the double advantage of not hitting your gpu/cpu on load (especially good for mobile) since there's no autoplay.
- andrewingram 4y agoI believe this is no longer the case: https://twitter.com/natfriedman/status/1383169112948449286 https://twitter.com/natfriedman/status/1383169112948449286
- lucideer 4y agooh wow they should advertise that more obviously via the ui, but I guess that kind of feature discoverability has never been github's style
- cturtle 4y agoYep! And it also works for images too! So you no longer need to host images externally, in an issue, or in an assets directory in the repo. I wish this were more well known.