I think that is a great idea put some API methods to the component using the Youtube or Vimeo API, like `onPlay`, `onEnd`, `onPause`, whatever.