Hii team,
I have created a website in Angualr 7 and I have used video tag for display the video but problem is that
Video tag is not working with avi and wmv video format but another mp4 it's working any idea why not working
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (3)
The HTML5 video Element does not support all video formats. There are differents between Browsers and Operations Systems too.
Maybe use a service like: cloud.qencode.com/ to transcode your videos to the supported formats.
Edit: Or use a opensource desktop software like: handbrake.fr/
to convert the videos by hand.
Here is a good overview about supported videos formats in different browsers.
caniuse.com/#search=video%20format
In the end you can add multiple files to the HTML5 video tag element.
Sir thanks for ur reply sir,what I do for play avi format video
Sir it's if tried above code for avi format video.
I have tried with multiple Angualr7 video player but nothing worked for me.tell me any other way to play avi format video?
The html video element can't play the avi video format.
Another idea I have: Upload your avi video to youtube and use
a angular library like
npmjs.com/package/ngx-youtube-player
or
npmjs.com/package/ngx-embed-video
to embed the youtube video into your site.