在c#web应用程序中播放任何文件格式的视频 [英] play video of any file format in c# web application

查看:103
本文介绍了在c#web应用程序中播放任何文件格式的视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在尝试播放任何文件格式的视频。我在MediaPlayer工作,但它只接受.wmv扩展,我想播放任何类型的视频以及我直接提供的链接(youtube.com/xxxx)在网页上播放视频。







Plz任何帮助...

Hi,

I'm trying to play the video of any file format. I worked on MediaPlayer but it is accepting only .wmv extensions, I wanna play any type of video and also the link which i gives directly(youtube.com/xxxx) to play a video in a web page.



Plz any help...

推荐答案

不幸的是并非所有浏览器都支持所有类型的视频格式,因此您无法获得完美的解决方案



更好的是你应该转换适合你的目标浏览器和视频格式的视频格式。用它。或者尝试浏览器插件,如 VLC插件 [ ^ ]但我从未尝试过。



FYI

----------------------

HTML多媒体 [ ^ ]

HTML视频 [ ^ ]

HTML视频 [ ^ ]



嵌入VLC插件在HTML页面上 [ ^ ]

在HTML中嵌入vlc播放器 [ ^ ]



你可以在网上找到更多。
Unfortunately not all browsers support all type of video formats so you won't get perfect solution.

Better thing is you should convert the video format which's suitable for your targeted browsers & use it. Or try browser plugins like VLC plugin[^] but I never tried that.

FYI
----------------------
HTML Multimedia[^]
HTML Video[^]
HTML YouTube Videos[^]

Embedding VLC plugin on HTML page[^]
embed vlc player in HTML[^]

You could find more in web.


为此目的,最好使用rad media player,关注以下链接



http:// www.telerik.com/help/aspnet-ajax/mediaplayer-overview.html [ ^ ]
Its better to use rad media player for this purpose, follow below link

http://www.telerik.com/help/aspnet-ajax/mediaplayer-overview.html[^]


这篇关于在c#web应用程序中播放任何文件格式的视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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