如何在asp.net网页中动态集成视频播放器,可以播放任何扩展的视频

问题描述:

<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>



;



我使用上面的html 5标签,但它不会播放.flv,。 AVI等在IE 11中也不支持


;

I am using the above html 5 tag but it doesnt play .flv,.avi etc and also not supported in IE 11

请参阅我对该问题的评论。您需要了解媒体容器,流,编解码器的概念,并阅读HTML5的可支持性问题< video> 元素:

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
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