title: How to play a GIF on click (like 9GaG.com) with wordpress?
body: <p>I need to implement this "gif player" in a wordpress site, because gif pages are up to 6mb, so performance is really crappy</p>
  
  <p>I´ve read this <a href="https://stackoverflow.com/questions/20249401/onclick-play-gif-image-with-jquery-and-start-from-beginning">Onclick play GIF image with jQuery and start from beginning</a>
  also this 
  <a href="https://stackoverflow.com/questions/20032860/how-to-play-animated-gif-from-the-beginning-onclick-function">How to play animated GIF from the beginning onclick function</a> that were almost a solution but i dont know how this should be done with wordpress in every entry</p>
  
  <p>9gag.com does it perfectly; shows a preview image , reproduces the gif onclick, and stop the gif if its clicked again. If clicked again, plays the gif from the start again</p>
  
  <p>How can i accomplish this with wordpress?</p>