1

While the GIF plays for the first time, you can click , to stop it immediately.

2

After the GIF finishes looping the first time, just hover over it and click to play it again.

When you go to a space, any unseen GIFs play automatically. But, if you've left a space while a GIF was playing, it won't restart automatically when you go back to the space.