Angular 16 and ViewChild and HTMLMediaElement
While working on an angular application where I had to develop the ability to manually control a video stream. Simple controls like, play, pause, and volume. “No problem!” I thought. HTML5 has these controls built-in and it will be super-simple to manipulate those methods with JS. This simple task took me on a 3-day journey into the 7th circle of hell. I couldn’t get basic controls to work, couldn’t get any video helper library functional, and nothing I was doing…