Yes, it should probably handle errors, I'll do that.

because firstPlay and durationReady are checked before onFirstPlay is fired, it should not be a problem. I did this because we can be waiting for firstPlay and network at the same time. Waiting for flash to process the video to mute, play, pause and unmute can be done while waiting for network responses. Saves a bit of time.