I was kind of hoping you'd solve those problems so I could just use gifs. :)
It occurred to me once that some kind of JS animation might do, as well. But you'd need a "player" that would allow rewind. It would be too much work to build that for any particular blog post but quite handy to apply if someone else built it.
Does the structure of animated gifs allow for any control over how the thing is played back?