I've often wondered why Discord is the only major platform client that provides an option to play gifs only on mouseover. It's incredibly effective at solving for the problem you describe.
Half the """GIFs""" you see online are webm. Just put a webm. They work great.