主题 : 视频 |
级别: 白丁
![]() |
24# 发表于:2016-08-31 11:17:45 IP:27.134.*.*
我跟官网上的代码一样,,,,,也只有播放器,,,,,视频传不上去,,,,,,关了重新传也没管事
|
||
---|---|---|---|
级别: 版主
![]() |
25# 发表于:2016-08-31 11:18:43 IP:106.188.*.*
视频传不上去是什么意思,你前面的截图是已经成功了,但是以二进制的方式传到数据库里了
|
||
---|---|---|---|
级别: 白丁
![]() |
30# 发表于:2016-08-31 11:24:53 IP:27.134.*.*
<div class="tvCon">
[#if content.mediaPath?? && content.mediaType??] <p style="margin: 5px auto; text-align: center"> [#if content.mediaType=='FLV'] <object height="500" width="100%" 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="vcastr_file=${content.mediaPath!}" /> <param name="quality" value="high" /> <param name="allowFullScreen" value="true" /> <param name="FlashVars" value="vcastr_file=${content.mediaPath!}&BufferTime=3" /><embed height="500" width="100%" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" flashvars="vcastr_file=${content.mediaPath!}" allowfullscreen="true" src="http://demo.jeecms.com/r/cms/www/default/img/flvplayer.swf"></embed> </object> [#elseif content.mediaType=='FLASH'] <embed height="500" width="100%" 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="100%" type="video/x-ms-wmv" src="${content.mediaPath}" console="cons" controls="ImageWindow" autostart="true"></embed> [/#if] </p> [/#if] </div> <div class="ny_content"> <div class="news_detail"> <div class="arti_cont"> <div class="txt clearfix"> <TABLE style="BORDER-BOTTOM: #cccccc 1px dotted; BORDER-LEFT: #cccccc 1px dotted; TABLE-LAYOUT: fixed; BORDER-TOP: #cccccc 1px dotted; BORDER-RIGHT: #cccccc 1px dotted" border=0 cellSpacing=0 cellPadding=6 width="100%" align=center> <TBODY> <TR> <TD style="WORD-WRAP: break-word" > <P> [@text_cut s=content.txt append='...'/] </P> </TD></TR></TBODY></TABLE> </div> 代码和官网上一样 |
||
---|---|---|---|