I am trying to achieve what this page does
I followed it’s instruction and setup the data-alt for an image but the script does not swap back the .png.
Maybe this isn’t the best way to achieve something similar and I am all ears. All I want is to be able to play the gif onclick, and when users click again it stops and become a static image. And when it’s clicked again the gif starts from the beginning.