TOP can be created without being initialized. Manually initialization of the player can be done at a later time.
Instead of using the preferred method of player creation createAndInitPlayer, use createPlayer:
var player = TOP.createPlayer();Now the player is created but hasn't initialized yet. This would be the time to set up any event listeners.
Initialize the player using the init method:
player.init();