// https://github.com/rubentd/gifplayer // http://giphy.com/gifs/brooklyn-saoirse-ronan-movie-6FAxn8i3tEfS0 $('#giphy').gifplayer({ gif: 'https://media.giphy.com/media/6FAxn8i3tEfS0/giphy.gif', mp4: 'https://media.giphy.com/media/6FAxn8i3tEfS0/giphy.mp4' });
<img id="giphy" src="https://media.giphy.com/media/6FAxn8i3tEfS0/200_s.gif">