如何从数据库视频网址显示视频? [英] how to display video from the database video url?

查看:152
本文介绍了如何从数据库视频网址显示视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜!我已经在db中存储了视频网址。但是我绑定标签只显示链接。我想以播放/暂停格式显示视频?请帮我解决问题。谢谢提前..



问候

ChandanNorway

解决方案

在aspx代码中添加以下代码。添加正确的URL数据库字段代替youtubeURL



< embed type =application / x-shockwave-flashwmode =transparent width =319height =263src =<%#Eval(YouTubeURL)%> /> 


hi! i have stored video url in db. but wen i bind to label it displaying the link only.I want to display the video with play/pause format?please help me out with dis problem.Thanks in advance..

Regards
ChandanNorway

解决方案

Add the following code in your aspx code. Add proper URL db field in place of youtubeURL

<embed type="application/x-shockwave-flash" wmode="transparent" width="319" height="263"src="<%# Eval ("YouTubeURL" ) %>" />


这篇关于如何从数据库视频网址显示视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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