Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
XML
<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

;

I am using the above html 5 tag but it doesnt play .flv,.avi etc and also not supported in IE 11
Posted
Updated 14-Oct-14 4:41am
v3
Comments
Sergey Alexandrovich Kryukov 14-Oct-14 12:25pm    
Video formats (containers) and codecs are not directly related to "extension". Don't you think that "any" would be a huge exaggerations? :-)
—SA

1 solution

Please see my comment to the question. You need to understand the concept of media container, stream, codecs and read on the problem of supportability of HTML5 <video> element:
http://en.wikipedia.org/wiki/Digital_container_format[^],
http://en.wikipedia.org/wiki/Codec[^],
http://en.wikipedia.org/wiki/Video_coding_format[^],
http://en.wikipedia.org/wiki/Video#Video_formats[^],
http://en.wikipedia.org/wiki/HTML5_video[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900