I can’t get either one of these to work:
this.video = document.querySelector('#edit-video-element')
nor
@ViewChild('edit-video-element') myVideo: any;
this.video = this.myVideo.nativeElement;
I need to be able to use methods like on the Video:
this.video.play();
Within my HTML I have this:
<video id="edit-video-element"
width="100%"
webkit-playsinline
poster="{{thumbnailPath}}"
src="{{videoPath}}">
</video>