主题 : 发布视频没有显示播放器 |
级别: 商业授权用户
![]() |
1# 发表于:2014-12-25 14:25:41 IP:157.153.*.*
|
||||
---|---|---|---|---|---|
级别: 版主
![]() |
8# 发表于:2014-12-25 14:41:22 IP:59.134.*.*
<div id="video" style="position:relative;z-index: 100;width:960px;height:500px;float: left;"><div id="a1"></div></div>
<script type="text/javascript"> //函数名称不允许更改 function ckmarqueeadv(){return '广告内容'}; var flashvars={f:'${content.mediaPath!}',c:0,b:1,my_url:'${content.url!}',my_pic:'${content.typeImg!}'}; var params={bgcolor:'#FFF',allowFullScreen:true,allowScriptAccess:'always'}; CKobject.embedSWF('${resSys}/ckplayer/ckplayer.swf','a1','ckplayer_a1','980','500',flashvars,params); var box = new LightBox(); function closelights(){//关灯 box.Show(); } function openlights(){//开灯 box.Close(); } </script> [#else] <embed height="500" width="98%" type="video/x-ms-wmv" src="${content.mediaPath}" console="cons" controls="ImageWindow" autostart="true"></embed> [/#if] </p> [/#if] <div id="video" style="position:relative;z-index: 100;width:600px;height:400px;float: left;"><div id="a1"></div></div>你那模板里是不是缺少这段代码,加上去就可以 |
||
---|---|---|---|
1
共1页