Added onOmniPlayerReady functionality