插入播放器页面:
<input id="hidInfoId" type="hidden" runat="server" value="id" />
<script type="text/javascript" src="ckplayer/ckplayer.js" charset="utf-8"></script>
<script type="text/javascript">
var flashvars = {
f: 'url.aspx?id=[$pat]',
a:document.getElementById("hidInfoId").value,
s: 1,
c: 0
};
var params = { bgcolor: '#FFF', allowFullScreen: true, allowScriptAccess: 'always', wmode: 'transparent' };
CKobject.embedSWF('ckplayer/ckplayer.swf', 'a1', 'ckplayer_a1', '600', '400', flashvars, params);
</script>
后台(url.aspx.cs):
```if (!string.IsNullOrEmpty(Request.QueryString["id"]))
{
Response.Write ("视频地址");
}
最后一步就不会了,试了很多次,视频加载不出来,求大神帮完善,着急!
数据表:![红色圆圈里就是视频路径](https://img-ask.csdn.net/upload/201703/26/1490527553_993199.png)
也可以推荐更简单的方法。