
The Player JavaScript API is not available immediately after the
player loads, so JavaScript calls triggered by page load events may
fail. If you need to call the player as part of your page load logic,
you can specify a function name in a ready FlashVar. The
player will call this function as soon as it is ready to be interacted
with. The player will pass the target function one argument: the DOM id
of the player itself.