Changed playerPlayed event binding to 'onplay'