如何在asp.net网页中动态集成视频播放器,可以播放任何扩展的视频 [英] how to integrate a video player in asp.net webpage dynamically that can play video with any extension

查看:79
本文介绍了如何在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> 元素:

< a href =http://en.wikipedia.org/wiki/Digital_container_format> 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


这篇关于如何在asp.net网页中动态集成视频播放器,可以播放任何扩展的视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆