moved YouTube player API events and controls to player class. WOrking