var so = new SWFObject("/player/player.swf","myCuPlayer","460","308","9","#000000");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addParam("quality","high");
so.addParam("salign","lt");
//播放器配置文件-----------------------------
so.addVariable("JcScpFile","/player/CuSunV3set.xml"); //配置文件地址
//视频文件及略缩图--------------------------
//so.addVariable("JcScpServer","rtmp://www.yoursite.com/vod"); //流媒体服务器地址
so.addVariable("JcScpVideoPath", ""); //视频地址
//so.addVariable("JcScpVideoPathHD","http://demo.cuplayer.com/file/test.mp4"); //高清视频地址
so.addVariable("JcScpImg", ""); //视频图片
so.addVariable("JcScpAutoPlay","no"); //是否自动播放
so.addVariable("JcScpStarTime","0"); //起始时间点(暂未启用)
so.addVariable("JcScpEndTime","0"); //结束时间点
so.addVariable("JcScpCuePointInfo",""); //提示点信息
so.addVariable("JcScpCuePointTime",""); //提示点秒数值
//-前置Flash广告-----------------------------
so.addVariable("ShowJcScpAFront","no"); //是否显示前置广告
so.addVariable("JcScpCountDownsPosition","top-left"); //倒计时位置
so.addVariable("JcScpCountDowns","5"); //广告倒计时位置
so.addVariable("JcScpAFrontW","700"); //前置广告宽度
so.addVariable("JcScpAFrontH","420"); //前置广告宽度
so.addVariable("JcScpAFrontPath",""); //前置广告地址
so.addVariable("JcScpAFrontLink",""); //前置广告链接
//-视频广告参数-----------------------------
so.addVariable("ShowJcScpAVideo","no"); //是否显示前置视频广告
//so.addVariable("JcScpAVideoServer",""); //前置视频广告服务器
so.addVariable("JcScpAVideoPath",""); //前置视频广告地址
so.addVariable("JcScpAVideoLink",""); //前置视频广告链接
//-暂停广告参数-----------------------------
so.addVariable("ShowJcScpAPause","no"); //是否显示暂停广告
so.addVariable("JcScpAPauseW","300"); //暂停广告地址
so.addVariable("JcScpAPauseH","250"); //暂停广告高度
so.addVariable("JcScpAPausePath",""); //暂停广告地址
so.addVariable("JcScpAPauseLink",""); //暂停广告链接
//-角标广告参数-----------------------------
so.addVariable("ShowJcScpACorner","no"); //是否显示角标广告
so.addVariable("JcScpACornerW","85"); //角标广告宽度
so.addVariable("JcScpACornerH","50"); //角标广告高度
so.addVariable("JcScpACornerPath",""); //角标广告地址
so.addVariable("JcScpACornerPosition","bottom-right"); //角标广告位置
so.addVariable("JcScpACornerLink",""); //角标广告链接
//-后置广告参数-----------------------------
so.addVariable("ShowJcScpAEnd","no"); //是否显示后置广告
so.addVariable("JcScpAEndW","400"); //后置广告宽度
so.addVariable("JcScpAEndH","300"); //后置广告高度
so.addVariable("JcScpAEndPath",""); //后置广告地址
so.addVariable("JcScpAEndLink",""); //后置广告链接
//-滚动文字广告参数-----------------------------
so.addVariable("ShowJcScpAMoveText","no"); //是否滚动文字广告
//-----------------------------------------
so.addVariable("JcScpSharetitle",""); //视频标题信息
so.write("CuPlayer");