Plays gifs in the HTML5 canvas.