Component plays a video.
The source can be either mp4 or from YouTube.
Injected ChangeDetectorRef service
HTML Element reference to Video tag
Sets the source URL for the video, and commences playing
If set to undefined or null, will stop the video player and clear the source.
Dispose the player OnDestroy
ngOnInit event. Logs when the video player is ready.
Component plays a video.
The source can be either mp4 or from YouTube.