主题 : ckplayer不能在谷歌浏览器中兼容,在苹果自带的浏览器中可以
级别: 童生
UID: 76178
积分:18 加为好友
威望: 2 精华: 0
主题:2 回复:20
注册时间:2015-06-01
在线时长:0
11#   发表于:2015-11-18 11:02:01  IP:219.36.*.*
回复第10楼又得转码
我学习,我快乐!!
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
12#   发表于:2015-11-18 11:03:02  IP:115.249.*.*
1
级别: 童生
UID: 76178
积分:18 加为好友
威望: 2 精华: 0
主题:2 回复:20
注册时间:2015-06-01
在线时长:0
13#   发表于:2015-11-18 11:43:59  IP:219.36.*.*
回复第12楼我换成MP4格式的文件,用ck还是不行
我学习,我快乐!!
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
14#   发表于:2015-11-18 11:44:39  IP:115.249.*.*
用ck不行那你用flv的啊,这播放器支持哪些类型的我们也不清楚
1
级别: 举人
UID: 65802
积分:149 加为好友
威望: 8 精华: 0
主题:9 回复:107
注册时间:2014-08-15
在线时长:0
15#   发表于:2016-01-19 11:28:32  IP:14.34.*.*
把原来的CK播放器更新一下,试试看!不要把路径搞错
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
16#   发表于:2016-01-19 11:29:13  IP:59.245.*.*
1
级别: 举人
UID: 65802
积分:149 加为好友
威望: 8 精华: 0
主题:9 回复:107
注册时间:2014-08-15
在线时长:0
17#   发表于:2016-01-19 11:34:42  IP:14.34.*.*

<!DOCTYPE HTML> 
<html> 
<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
<head> 
<title>${title} - ${site.name} - Powered by JEECMS</title> 
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> 
<meta content="${content.tagStr!}" http-equiv="keywords" /> 
<meta content="${content.description!}" http-equiv="description" /> 
<script src="${resSys}/html5.js" type="text/javascript"></script> 
<link href="/${res}/css/index.css" rel="stylesheet" type="text/css"/> 
<link href="/${res}/css/html5.css" rel="stylesheet" type="text/css"/> 
<script src="${resSys}/jquery.js" type="text/javascript"></script> 
<script src="${resSys}/front.js" type="text/javascript"></script> 
<script src="/${res}/js/common.js" type="text/javascript"></script> 
<script type="text/javascript"> 
$(function() { 
Cms.attachment("${base}","${content.id}","${content.attachments?size}","attach"); 
Cms.viewCount("${base}","${content.id}"); 
Cms.siteFlow("${base}", location.href, document.referrer); 
}); 
</script> 
<style type="text/css"> 
#a1 { 
height: 480px; 
width: 640px; 
margin:auto;

</style> 

</head> 
<body> 
<div class="container"> 
 [#include "../include/页头顶栏.html"/] 
    <div class="banner_AD"> 
<script src="${base}/adspace.jspx?id=1" type="text/javascript"></script> 
</div> 
<div class="me"> 
<div class="topp"> 
   [#include "../include/navi.html"/]  
</div>   
</div>     
    <div class="website mt10"> 
        当前位置:<a href="${base}/">首页</a> > [#list channel.nodeList as n]<a target="_blank" href="${n.url}">${n.name}</a>[#if n_has_next] > [/#if][/#list] > 正文 
    </div> 
    <div class="clear"></div> 
<div class="newsTex">  
        <h1>[#if content.bold]<b>${content.title}</b>[#else]${content.title}[/#if]</h1>  
        <div class="msgbar">发布时间: ${content.releaseDate} &nbsp; 作者:${content.author!'本站编辑'} &nbsp; 来源: ${content.origin!'本站原创'} &nbsp; 浏览次数:<span id="views"></span>  
        [#if user??]  
        <script type="text/javascript">  
        $(function() {  
        Cms.collectexist("${base}","${content.id}","cancelSpan","comfirmSpan");  
        });  
        </script>  
        [/#if]  
        </div>  
         </br></br></br> 
    </div>  
     <div class="tvCon"> 
     <div id="a1"> 
      [#if content.mediaPath?? && content.mediaType??]    
          
               [#if content.mediaType=='FLV']  
         <div id="video" style="position:relative;z-index: 100;width:960px;height:500px;float: left;"></div> 
     <script type="text/javascript" src="/thirdparty/ckplayer/js/offlights.js"></script> 
<script type="text/javascript" src="/thirdparty/ckplayer/ckplayer.js" charset="utf-8"></script>
                <script type="text/javascript">    
                    var flashvars={ 
                        f:'${content.mediaPath}', 
                        c:0, 
                        p:1, 
                        loaded:'loadedHandler', 
                        my_url:encodeURIComponent(window.location.href) 
                    }; 
                    var video=['${content.mediaPath}->video/${content.mediaType}']; 
                    CKobject.embed('/thirdparty/ckplayer/ckplayer.swf','a1','ckplayer_a1','640','480',false,flashvars,video); 
                    var box = new LightBox(); 
                            function closelights(){//关灯 
                                box.Show(); 
                            } 
                            function openlights(){//开灯 
                                box.Close(); 
                            } 
                </script> 

        [#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> 
     <script type="text/javascript" src="/thirdparty/ckplayer/js/offlights.js"></script> 
<script type="text/javascript" src="/thirdparty/ckplayer/ckplayer.js" charset="utf-8"></script>
                <script type="text/javascript">    
                    var flashvars={ 
                        f:'${content.mediaPath}', 
                        c:0, 
                        p:1, 
                        loaded:'loadedHandler', 
                        my_url:encodeURIComponent(window.location.href) 
                    }; 
                    var video=['${content.mediaPath}->video/mp4']; 
                    CKobject.embed('/thirdparty/ckplayer/ckplayer.swf','a1','ckplayer_a1','640','480',false,flashvars,video); 
                    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] 

[/#if]  
</div>
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
18#   发表于:2016-01-19 11:39:15  IP:59.245.*.*
1
|< < 1 2 共2页