only play if the player window is available