add onPlayerReady event handler
2.1.0
add onPlayerReady event handler to example