主题 : 基于jeecmsV5 |
级别: 总版主
![]() |
21# 发表于:2016-07-27 11:08:34 IP:59.110.*.*
|
||||
---|---|---|---|---|---|
级别: 童生
![]() |
22# 发表于:2016-07-27 11:14:40 IP:60.25.*.*
但是那个父栏目下有其他的栏目应该怎么处理啊,我可以通过判断让其内容不显示,但是分页的总条数不知道该怎么处理。。。。
|
||
---|---|---|---|
级别: 童生
![]() |
26# 发表于:2016-08-04 17:03:55 IP:60.25.*.*
你好,问下 多媒体字段上传视频,如何在页面直接播放视频,我用${a.media}只能获取到路径,求解啊,好急!!!!!
|
||
---|---|---|---|
级别: 版主
![]() |
28# 发表于:2016-08-04 17:04:38 IP:182.235.*.*
[#if content.mediaPath?? && content.mediaType??]
<p style="margin: 5px auto; text-align: center"> [#if content.mediaType=='FLV'] <object height="500" width="98%" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> <param name="movie" value="/${res}/img/flvplayer.swf" /> <param name="quality" value="high" /> <param name="allowFullScreen" value="true" /> <param name="FlashVars" value="vcastr_file=${content.mediaPath!}&BufferTime=3" /><embed height="500" width="98%" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" flashvars="vcastr_file=${content.mediaPath!}" allowfullscreen="true" src="/${res}/img/flvplayer.swf"></embed> </object> [#elseif content.mediaType=='FLASH'] <embed height="500" width="98%" type="application/x-shockwave-flash" quality="high" src="${content.mediaPath}" wmode="transparent" align="center"></embed> [#elseif content.mediaType=='CK'] <!--ckplayer播放视频--> <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] |
||
---|---|---|---|