Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Animated gifs restarting in chat?

I've been banging my head looking and looking for hours trying to figure this out. Here's what I'm looking to do: I have an animated gif, let's say it is a timer for 30 seconds. I created a macro so all the players could use it. However, I need it to reset when pressed, like start over from the beginning of its animation. (At the moment, when I press it again, it just posts another just like it, with the same count- so, if it was at 15 seconds left, it would post another gif with 15 seconds (fully synced).) Non-API solutions would be nice. Any ideas?
1649831227

Edited 1649832290
Oosh
Sheet Author
API Scripter
Is this in chat, or on the canvas? From "post another gif" it sounds like you mean chat, but I'm not sure how you'd be pausing a gif in chat. Anyways if it's chat, it's easy enough to get them running on their own loop: You need to provide a query string to stop Roll20 using the cached version: [img](<a href="https://myimages.com/YXScJj0/myFile.gif?[[[1d999]]]#.gif" rel="nofollow">https://myimages.com/YXScJj0/myFile.gif?[[[1d999]]]#.gif</a>) More info in Stupid Tricks . If it's a canvas animation, I have no idea.
At first it wasn't working, but now it is. This is awesome. And for anyone else who is having this issue: [img](URL?[[[1d999]]]#.gif) Replace URL with the gif's url, with the type of file it is. So mine was: [img](<a href="https://thumbs.gfycat.com/SoggyBeautifulDassie-size_restricted.gif?[[[1d999]]]#.gif" rel="nofollow">https://thumbs.gfycat.com/SoggyBeautifulDassie-size_restricted.gif?[[[1d999]]]#.gif</a>)