See the source code for how to do this.

Remember that only the default slide animation works with flash content.

You can always just insert a flash video into a slide
You only need to do these sorts of tricks if you want to pause the video when its not visible