In HTML5, how can I draw easily (no too much complex code please) an animated GIF in a canvas that works (with drawImage only first frame is shown in the canvas)
I believe you are looking for http://slbkbs.org/jsgif
Unfortunately, the DOM doesn't expose individual frames of a GIF, so this is done by downloading the GIF (with XMLHttpRequest), parsing it, and drawing it on a <canvas>.
<canvas>
2.1m questions
2.1m answers
60 comments
57.0k users