Added events for video ending in the youtubeplayer service.