Does anyone know if it's possible to control an animated gif using JS? Let's say to control the number of frames to be played or to control which frame has to be displayed?
Or to start/stop the animation?

I don't think it is, but hey, you'll never know