如何在.Net 2.0中创建与Youtube相同的视频库 [英] How can create Video Gallery same as Youtube in .Net 2.0
问题描述
现在我创建了一个视频库.使用Datalist控件,将项目模板添加为图像按钮.
但这还不是完全清楚或适当的.仅显示图像,在每个图像下方放置一个按钮.要播放视频,请单击按钮.按钮与视频文件名绑定.
现在我需要在图库中添加视频标题,视频图像.当我们单击图像然后播放图像时.
视频文件保存在文件夹中.文件名保存在数据库SQL2008中.
因此,我该如何创建与youtube相同的视频库.页面加载时必须播放视频.
Now I created a video gallery .Using Datalist control , add item template as image button.
But it not completely clear or proper. Just images shown,placed a button below of each image .For play video click on button.Button bind with video file name.
Now I need in gallery video title, video image. when we click image then play image.
Video files are save in folder. file names are save in database SQL2008.
So how can I create video gallery same as youtube. When page is load must play a video.
推荐答案
您是否在此处查看过
Have you looked here http://www.asp.net/aspnet-in-net-35-sp1/videos/introduction-to-the-aspnet-mediaplayer-control[^]
也许这会有所帮助:
http://www.aspnet-video.com/ [
Maybe this will help:
http://www.aspnet-video.com/[^]
这篇关于如何在.Net 2.0中创建与Youtube相同的视频库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!