上传视频并播放 [英] Upload Video and play

查看:103
本文介绍了上传视频并播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我需要上传视频并播放该视频.
对于图片库,我使用了gridview来显示图像.
但是如何播放上传的视频?

它不是固定的,当按下视频然后播放相应的视频时.

In my application I need to upload videos and play that video .
For Picture gallery, I used a gridview for appear the images.
But How to play uploaded videos?

It is not fixed, when press a video then play corresponding video.
How to do it?

推荐答案

如果您在互联网上进行搜索-您应该找到一些答案.
请参见此处 [ http://www.codeproject.com/KB/directx/directshowmediaplayer.aspx [ ^ ]
http://steveorr.net/articles/streamingmedia.aspx [
If you do a search on the internet - you should find some answers.
See here[^], for example.

Some other links -
http://www.codeproject.com/KB/directx/directshowmediaplayer.aspx[^]
http://steveorr.net/articles/streamingmedia.aspx[^]


这些链接将为您提供帮助

对象元素 [对象-嵌入式对象 [ DataList控件更适合显示对象/HTML标签.


[更新]
使用自定义控件在ASP.NET 2.0中显示视频 [
These link will help you

The Object Element[^]
OBJECT - Embedded Object[^]

<PARAM NAME=autoplay VALUE=true>

Above property of object tag should help to set "when press a video then play corresponding video."
DataList control is better for display objects/Html tags.


[Update]
Display Videos in ASP.NET 2.0 Using Custom Control[^]
[/Update]


这篇关于上传视频并播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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