I am writing angular app to stream videos returned from backend. These videos are live streams that I tested that work using VLC Media Player > Open Network Stream without any issues.
Codec returned looks like this:
I am using video
html element where I set the src of source
to returned link from the backend:
<video #videoPlayer id="video" preload="auto" muted>
<source #videoSrc type="video/mp4">
Your browser does not support the video tag.
</video>
Can I play videos with codec like this on web browsers?
2
Answers
Well, this is supported. There are no extra steps necessary to do this. One issue I see is that you have random hashtags in your elements…?? Here is a full example of a video element in HTML:
can You please check this.