When you click play this is what will happen:
Thanks for watching this simple example of using timed events with YouTube videos. The code is available. Another example of this in action is the West Virginia University 2011 Holiday Card project. I also have a longer blog post that goes into more detail about syncing events with YouTubePlayer.
You should be able to scrub and replay this video to your hearts content and still get the fireworks to fire off.