Removing player.isPlayerReady since it isn't needed. Removing redundant code from api.destroyPlayer