How to play AVI video file format in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to play AVI video file format in HTML

I have tried the iframe and video tags but anytime when I open in the browser without playing the file it directly downloads the file . I have my AVI file in PC storage Ex :- <iframe src="E:\videos\first.avi" width="auto" height="auto"></iframe>

20th Jul 2021, 5:28 PM
Hemant Gholap
Hemant Gholap - avatar
3 Answers
+ 3
Pretty much depends on what browser you are using and what video codec is installed on your machine. https://stackoverflow.com/questions/4129674/does-html5-video-playback-support-the-avi-format
20th Jul 2021, 5:35 PM
Hatsy Rei
Hatsy Rei - avatar
0
I runned on the both MS Edge and Chrome it didn't works Please suggest any other way to play AVI file in browser
20th Jul 2021, 5:53 PM
Hemant Gholap
Hemant Gholap - avatar
0
Can I use object tag to play AVI files? How?
20th Jul 2021, 5:55 PM
Hemant Gholap
Hemant Gholap - avatar