用户名: 密码: 我要注册
极酷网页播放器 - 免费下载 - 代码示例与AS技术

<!-- 极酷CuSunPlayerV1.0/标准代码开始 -->

<script type="text/javascript" src="Images/swfobject.js"></script>
<div id="CuPlayer"><b>极酷CuSunPlayerV1.0网页视频播放器</b></div>
<script type="text/javascript">
var so = new SWFObject("CuSunV1_Gray_GS.swf","ply","560","400","9","#000000");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addParam("quality","high");
so.addParam("salign","lt");

//前置flash广告参数
so.addVariable("ShowJcScpAFront","yes");       //是否显示前置flash广告 ( yes / no )
so.addVariable("JcScpStageW","560");         //播放器宽度
so.addVariable("JcScpStageH","400");         //播放器高度
so.addVariable("JcScpCountDowns","3");        //倒计时时间
so.addVariable("JcScpCountDownsPx","10");      //倒计时坐标值x
so.addVariable("JcScpCountDownsPy","10");      //倒计时坐标值y
so.addVariable("JcScpAFrontW","215");          //前置flash广告宽度
so.addVariable("JcScpAFrontH","200");         //前置flash广告高度
so.addVariable("JcScpAFrontPath","Images/SevenColorPlayer_650x418.swf");  //前置flash广告地址

//前置视频广告参数
so.addVariable("ShowJcScpAVideo","no");       //是否显示文前置视频广告( yes / no )
so.addVariable("JcScpAVideoPath","http://www.yoursite.com/yourAdFile.flv");  //视频广告地址

//暂停广告参数
so.addVariable("ShowJcScpAPause","no");       //是否显示暂停广告( yes / no )
so.addVariable("JcScpAPauseW","375");        //暂停广告宽度
so.addVariable("JcScpAPauseH","250");         //暂停广告高度
so.addVariable("JcScpAPausePath","Images/SevenColorPlayer_a1.swf");  //暂停广告地址

//滚动广告参数
so.addVariable("ShowJcScpAMove","yes");       //是否显示文字滚动广告( yes / no )
so.addVariable("JcScpAMovePath","ScpMoveinfoGB2312.php");  //滚动广告地址
so.addVariable("JcScpAMoveW","460");         //文字滚动广告宽度

//播放器配置文件
so.addVariable("JcScpFile","CuSun.php");
so.addVariable("JcScpList","CuSunList.php");

//视频文件及略缩图
so.addVariable("JcScpVideoPath","http://www.yoursite.com/yourfile.flv");  //视频文件地址
so.addVariable("JcScpImg","Images/yourImages.jpg");           //视频略缩图地址
so.write("CuPlayer");
</script>

<!-- 极酷CuSunPlayerV1.0/标准代码结束 -->