Okay, I'm encountering an issue with a gif on my website. It works perfectly the first time I load the page, but if I reload or navigate away and then come back to that section, it shows the final image as if the animation has already happened. The gif is set to only play once, which was intentional when creating it. However, I want it to replay every time the web page is refreshed. How can I make this control happen?
The code in question is quite simple:
<div class="col-xs-12 text-center">
<img src="images/unnamed.gif" id="gif" alt="">
</div>
I've searched for a solution, but haven't found one yet. I suspect that the fact that the gif is within an angular partial might be causing the issue. When I tested it in a different project without angular, everything worked fine. If anyone has any insights, I would greatly appreciate it.