added readytoplay eventlistener