这个怎么弄啊 大神请帮忙!
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
#div1 {width:800px; height:350px; background:red;}
</style>
<script>
function setColor(color)
{
var oDiv=document.getElementById('div1');
}
</script>
</head>
<body>
<a href="javascript:;" onClick="setColor('视频地址');">视频1</a><!--点击视频1地址加载到下面的那个视频地址上-->
<div id="div1">
<div id="a1"></div>
<script type="text/javascript" src="ckplayer/ckplayer.js" charset="utf-8"></script>
<script type="text/javascript">
var flashvars={
f:'视频地址',
c:0,
b:1
};
var video=['http://movie.ks.js.cn/flv/other/1_0.mp4->video/mp4','http://www.ckplayer.com/webm/0.webm->video/webm','http://www.ckplayer.com/webm/0.ogv->video/ogg'];
CKobject.embed('ckplayer/ckplayer.swf','a1','ckplayer_a1','600','400',false,flashvars,video)
function closelights(){//关灯
alert(' 本演示不支持开关灯');
}
function openlights(){//开灯
alert(' 本演示不支持开关灯');
}
</script>
</div>
</body>
</html>