如何使用asp.net播放AVI文件? [英] how to play AVI file using asp.net?

查看:121
本文介绍了如何使用asp.net播放AVI文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用asp.net(C#)播放AVI文件?

How to play AVI file using asp.net (C#)?

推荐答案

我想您想在客户端播放它.在那种情况下,在服务器端使用哪种编程语言都没关系.
首先,AVI并不是最佳选择,因为它只是一个容器,可以容纳使用许多不同编解码器编码的流.并且可能并非在所有平台上都受支持.因此,您必须考虑客户端.所以忘了avi.
如果您想扩大受众范围,可以使用HTML5本机视频支持,并使用后备Flash.为此,您可以使用以下小工具: http://www.videojs.com/ [https://wiki.videolan.org/Documentation:WebPlugin/ [
I suppose you want to play it on client side. In that case does not matter what programming language you use on server side.
First of all, AVI is not the best choice, because it is only a container that can hold streams encoded with many different codecs. And might not be supported on all platforms. So you have to take the client side into consideration. So forget avi.
If you want a wider audience, you can use HTML5 native video support, with fallback to flash. For that you can use this little one: http://www.videojs.com/[^]
If you stick to AVI, you will be bound to several platforms, and you need to have a good common plugin (not codec) installed on each and every client, like VLC provices: https://wiki.videolan.org/Documentation:WebPlugin/[^], but I discourage you in taking this path.


检查以下内容以获取可能的解决方案:
在asp.net中播放存储的.avi文件c#网页 [ ASP .Net视频播放器 [ http://forums.asp.net/t/1372131.aspx [
Check these for possible solutions:
play stored .avi files in asp.net c# web page[^]
ASP .Net Video Player[^]
http://forums.asp.net/t/1372131.aspx[^]


这篇关于如何使用asp.net播放AVI文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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