onplayOccurs when the play method is requested. var onplay: ((this: Window, ev: Event) => any) | null;