基础
功能配置
风格/语言配置
视频处理
服务器配置
IIS支持视频播放
apache视频支持
nginx视频支持
常见问题

功能设置

#说明

功能设置分为几个部分:视频功能配置,广告功能配置,风格配置(logo的设置(播放器右上角显示图片),loading的设置(加载播放时,视频缓冲时显示的图片)),语言包配置。

1:视频功能配置,分成两部分,一部分为调用代码里配置(比如是否默认播放,封面图片等),一部分为ckplayer.json里进行配置(比如缓冲时间)。

2:广告功能配置,主要是调用播放器代码里进行配置。

3:风格配置,该部分在style.json里进行配置

4:语言包配置,该部分在language.xml文件里进行配置

#修改logo

打开ckplayer.json文件,找到节点:style>logo>file,该节点为图片base64码(在线转码地址)。

#修改loading

打开ckplayer.json文件,找到节点:style>loading>file和style>loading>fileH5,该节点为图片base64码(在线转码地址)。
style>loading>file是flashplayer中使用
style>loading>fileH5是H5环境中使用的loading。如果设置成空,则使用style>loading>file相同的配置

#修改右键

打开ckplayer.json文件,找到节点:menu,该节点是配置右键的。下面为一个配置示例:

menu:{
    ckkey:'您的CKKEY',
    name:'您的版权名称',
    link:'您的链接地址',
    version:'您的版本号,可以留空',
    domain:'如果你购买时限制了域需要填写',
    more:[
        {
            name:'示例:点击播放',
            clickEvent:'actionScript->videoPlay',
            separatorBefore:flase//是否需要分隔线
        },
        {
            name:'示例:跳转链接',
            clickEvent:'link->http://www.sopcast.cn,_blank',
            separatorBefore:flase//是否需要分隔线
        },
        {
            name:'示例:调用js',
            clickEvent:'javaScript->hello()',
            separatorBefore:flase//是否需要分隔线
        }
    ]
},

主要了解一下more里面设置的属性意义:

一:name,指的是显示在菜单上的字符

二:clickEvent,点击菜单的事件。如果不设置则显示为灰色菜单。如果有点击事件,则分成下面几种:

actionScript:调用播放器内部接口函数,即播放器内部函数,

比如说调用播放视频函数:clickEvent:'actionScript->videoPlay'

javaScript:调用js函数,这里的js函数是外部函数

比如:clickEvent:'javaScript->helloword()',点击按钮会调用js函数helloword,同样可以自定义参数,如果你想函数名称不在这里指定,而是在调用播放器时指定,则可以用clickEvent:'javaScript->[flhasvars]helloword',则videoObject里指定当前页面调用的函数名称

link:链接地址,clickEvent:'link->http://www.sopcast.cn,_blank'在新窗口中打开链接地址,

none=没有动作

三:separatorBefore:是否需要间隔线,true=需要,false=不需要

#限制进度调节框

打开ckplayer.json文件,找到节点:timeScheduleAdjust,关于该属性值的说明如下:

是否可调节播放进度调节栏
0=不启用,禁止拖动,
1=是启用,正常
2=是只能前进(向右拖动),
3=是只能后退,
4=是只能前进但能回到第一次拖动时的位置,
5=是看过的地方可以随意拖动

#通用功能配置文件ckplayer.json文件各节点功能说明

{
    "config": { //通用配置
        "fullInteractive": true, //是否开启交互功能
        "delay": 30, //延迟加载视频,单位:毫秒
        "timeFrequency": 100, //计算当前播放时间和加载量的时间频率,单位:毫秒
        "autoLoad": true, //视频是否自动加载,如果设置成false,则必需用户点击后才可以加载
        "loadNext": 0, //多段视频预加载的段数,设置成0则全部加载
        "definition": true, //开启清晰度组件
        "subtitle": true, //开启字幕切换组件
        "playbackRate": true, //开启速率调整组件
        "smartRemove": true, //是否使用智能清理,使用该功能则在多段时当前播放段之前的段都会被清除出内存,减少对内存的使用
        "bufferTime": 200, //缓存区的长度,单位:毫秒,建议不要小于100
        "rtmpBufferTime": 0, //rtmp视频缓存区长度,单位:毫秒
        "click": true, //是否支持单击暂停
        "doubleClick": true, //是否支持双击全屏
        "doubleClickInterval": 200, //判断双击的标准,即两次单击间隔的时间差之内判断为是双击,单位:毫秒
        "keyDown": { //开启键盘控制播放器
            "space": true, //是否启用空格键切换播放/暂停
            "left": true, //是否启用方向键-左控制后退
            "right": true, //是否启用方向键-右控制前进
            "up": true, //是否启用方向键-上控制提升音量
            "down": true //是否启用方向键-下降低音量
        },
        "timeJump": 10, //快进快退时的秒数
        "volumeJump": 0.1, //音量调整的步长,大于0小于1的小数,默认0.1,即每次使用方向键调整音量时提高0.1或降底0.1
        "timeScheduleAdjust": "1", //是否可调节播放进度调节栏,0不启用,1是启用,2是只能前进(向右拖动),3是只能后退,4是只能前进但能回到第一次拖动时的位置,5是看过的地方可以随意拖动
        "previewDefaultLoad": true, //预览图片是否默认加载,优点是鼠标第一次经过进度条即可显示预览图片
        "promptSpotTime": true, //提示点文字是否在前面加上对应时间
        "buttonMode": { //鼠标样式
            "player": false, //鼠标在播放器上是否显示可点击形态
            "controlBar": false, //鼠标在控制栏上是否显示可点击形态
            "timeSchedule": true, //鼠标在时间进度条上是否显示可点击形态
            "volumeSchedule": true //鼠标在音量调节栏上是否显示可点击形态
        },
        "liveAndVod": { //直播+点播=时移功能的配置
            "open": false, //是否开启,开启该功能需要设置flashvars里live=true
            "vodTime": 2, //可以回看的整点数
            "start": "start" //回看请求参数
        },
        "usehardwareeecoder": false, //是否采用硬件加速,只针对flashplayer有效
        "errorNum": 1, //出现播放错误时系统重新连接次数
        "playCorrect": false, //是否启用错误修正
        "timeCorrect": true, //http视频播放时间错误纠正,有些因为视频格式的问题导致视频没有实际播放结束视频文件就返回了stop命令
        "m3u8Definition": { //m3u8自动清晰度时按关键字来进行判断
            "tags": [
                    "110k",
                    "200k",
                    "400k",
                    "600k",
                    "800k",
                    "1000k"
                ]
        },
        "m3u8MaxBufferLength": 30, //m3u8最大缓冲时间,单位:秒数
        "split": ",", //当视频地址采用字符形式并且需要使用逗号或其它符号来切割数组里定义
        "timeStamp": "", //一个地址,用来请求当前时间戳,用于播放器内部时间效准
        "videoDrawImage": false, //是否启用hls播放m3u8文件
        "errorTime": 10, //监听错误的计时器秒数
        "addCallback": "adPlay,adPause,playOrPause,videoPlay,videoPause,videoMute,videoEscMute,videoClear,changeVolume,fastBack,fastNext,videoSeek,newVideo,getMetaDate,videoRotation,videoBrightness,videoContrast,videoSaturation,videoHue,videoZoom,videoProportion,videoError,addListener,removeListener,addElement,getElement,deleteElement,elementShow,animate,animateResume,animatePause,deleteAnimate,changeConfig,getConfig,openUrl,fullScreen,quitFullScreen,switchFull,screenshot,custom,changeControlBarShow,getCurrentSrc,changeDefinition,changeSubtitles,changeSubtitlesSize" //允许交互的函数名称列表
    },
    "menu": { //修改右键,下面的内容在鼠标在播放器区域点击右键时显示
        "ckkey": "97b6a7181e0bdbe69e692383e1071ba1", //ckkey,32个字符
        "name": "ckplayer", //版权名称
        "link": "http://www.sopcast.cn", //版权名称链接地址
        "domain": "", //限制播放器只能在指定域名下使用,多个域名请用英文逗号隔开
        "version": "version:X2", //版本信息
        "more": [] //更多右键设置
    },
    "languagePath": "", //语言文件地址
    "stylePath": "", //风格文件地址
    "style": { //部分风格配置,该处的风格只定义少里需要个性化配置的属性。播放器整体风格需要使用单独的文件style.json进行配置
        "loading": { //loading的配置
            "file": "data:image/gif;base64,R0lGODlhPAAeALMIAPRqMPRmK/RqMfNkKPRyPPV+TPRpL/NfIf///wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgK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9bkCuxyvGHzfN7+fjBTND44VoETifqWSsOLUwR1KZVVm5VnS6ZRYorna5ZzNlTN6qJ941Gj6mauVveh7Btvfcd3iBEn1lg3xzeoeFgH9ph4h7jI+OgpWWbZhxipeEiZ6SdYadkZBgORenAJugi58orKWksVivrE9QR7G0R5SZFDU2vRy8wyDFxh4mJ8nNzs/QHREAIfkECQoACAAsAAAAADwAHgAABKEQyUmrvTjrzbv/YCiOZGmeaKCuaLqqRyy3p2zfdGbs/HX/B4xgSCz9fEAb5khiVpJKZLQCqFqXOAt0JuU+s1owZRvDTsdi9HlCDnbL4TU7LWmbvWp8Hv7d3vl7bnF6dWR/goGHb0CKg4CJjoyLk5R9UI1UVlWYgU6WjyCec36VIqKFpBZERU10CHY5FwWztIsvKrEktwG5vb6/wMHCw8QTEQAh+QQFCgAIACwAAAAAPAAeAAAErBDJSau9OOvNu/9gKI5kOQ1oaq7Z4b5sXL2w7NHuhR824f+YnQ4nKBpLwiFNuauNkhYopYnDAK5YZk7Li1Kds6p3yeVKp+IweQyefNvuNHqthiPeW3Z+br/L429BfxJngHZ4XXqJfHuMi4ZUgnSQj5Rmg4SYhZmTnF9WWFdlo3WRJJt+namfp5irjZ4uRketqq+Vtz0/PpKHrjaKpMAam6jDIcbHHykqys7PKxEAOw==", //flashplyer环境中使用的loading文件
            "fileH5": "data:image/gif;base64,R0lGODlhPAAeALMIAPRqMPRmK/RqMfNkKPRyPPV+TPRpL/NfIf///wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgI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PKxEAOw==", //h5环境中使用的loading文件
            "align": "center", //水平对齐方式,left(左对齐),center(中间对齐),right(右边对齐)
            "vAlign": "middle", //垂直对齐方式,top(上方对齐),middle(中间对齐),bottom(底部对齐)
            "width": 60, //图片宽
            "height": 30, //图片高
            "offsetX": -30, //水平偏移量
            "offsetY": -15 //垂直偏移量
        },
        "logo": { //logo的配置
            "file": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAUCAYAAAD4BKGuAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAVTSURBVHja1Fl/aJVVGP4cw/mH5tUWi3I53cA0WbeIzMgaq6lQoVawm0S6glHhIKM/TELICotqCxMSGWQRdFfRLEhc9mMxqA0rbdS2wsV0GkZXuaKUWlHvgeeNh7f3u1du3Ft74eGcnXu+c873vD/Pt0nZbDZyZL2gWZAQTBH8IjggeEjgPZASPIB+g/P7EsGT6J/BfHfjHFIv2Jpjj/+dlDskvCm42Jk7X3C7YJOgw/z2oOBGwdEYRW0RVAjOCZ4ugNggqwU3CTLRBJFyQ+xuwVRY14igB78tE9QKpgmeEHwkGKRnq9AeMesHRWwEsYGUxwSdBZ51ecweE4Lct0DsOVjaZvptA8jfC4JfghWpXIJ2jMY+EDShf1pwh6DvX5x1GtpDE43cNFlfhyFWpQ9xd5FgFo3fRi++C+2nCBNBRgU3O6RsEyyEQv4QLMb4CcE9RlFBLqS1WZ6BZ83A35ofVhuvfE5QJrjWebdgCJOx51qM1QgewbMzsO57MDQrB9DeC8ObHd5Xyb2eiNiQQxmtgkZBr+OuZwV7BIcF1RgbF1wTE2MbEccX48VY9sMzBilhTke/m+b1Q9lefpgruI7OsYhIGzPJuAnn3+6EM7vu1YKl5vkrYRSfCGZivCxoMklk7M5j6eFlXyRNRSAvAoFf0Fo/CC7LkbwuQjsZsf0qwbuI9wlYgIqGl6NEzDYibJ/gbmAfxpKoMDRcaSK8xZzjZbK+NMhS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WvwQYAFT+UsGCXmX3AAAAAElFTkSuQmCC", //logo图片
            "align": "right", //水平对齐方式,left(左对齐),center(中间对齐),right(右边对齐)
            "vAlign": "top", //垂直对齐方式,top(上方对齐),middle(中间对齐),bottom(底部对齐)
            "width": 87, //图片宽
            "height": 30, //图片高
            "offsetX": -100, //水平偏移量
            "offsetY": 10 //垂直偏移量
        },
        "advertisement": { //广告相关的配置
            "time": 5, //广告默认播放时长以及多个广告时每个广告默认播放时间,单位:秒
            "method": "get", //广告监测地址默认请求方式,get/post
            "videoForce": false, //视频广告是否强制播放结束
            "videoVolume": 0.8, //广告视频默认音量
            "skipButtonShow": true, //是否显示跳过广告按钮
            "linkButtonShow": true, //是否显示广告链接按钮,如果选择显示,只有在提供了广告链接地址时才会显示
            "muteButtonShow": true, //是否显示表单和取消静音按钮
            "closeButtonShow": true, //暂停广告时是否显示关闭按钮
            "closeOtherButtonShow": true, //其它广告时是否显示关闭按钮
            "frontSkipButtonDelay": 5, //播放开始前广告跳过广告按钮延时显示的时间,秒
            "insertSkipButtonDelay": 0, //中间插入广告跳过广告按钮延时显示的时间,秒
            "endSkipButtonDelay": 0, //结尾广告跳过广告按钮延时显示的时间,秒
            "frontStretched": 1, //播放开始前广告拉伸方式,0=原始大小,1=自动缩放,2=只有当广告的宽或高大于播放器宽高时才进行缩放,3=参考播放器宽高,4=宽度参考播放器宽、高度自动,5=高度参考播放器高、宽度自动
            "insertStretched": 2, //中间插入广告拉伸方式,0=原始大小,1=自动缩放,2=只有当广告的宽或高大于播放器宽高时才进行缩放,3=参考播放器宽高,4=宽度参考播放器宽、高度自动,5=高度参考播放器高、宽度自动
            "pauseStretched": 2, //暂停广告拉伸方式,0=原始大小,1=自动缩放,2=只有当广告的宽或高大于播放器宽高时才进行缩放,3=参考播放器宽高,4=宽度参考播放器宽、高度自动,5=高度参考播放器高、宽度自动
            "endStretched": 2 //结尾广告拉伸方式,0=原始大小,1=自动缩放,2=只有当广告的宽或高大于播放器宽高时才进行缩放,3=参考播放器宽高,4=宽度参考播放器宽、高度自动,5=高度参考播放器高、宽度自动
        },
        "videoDefault": { //flashplayer环境中读取视频元数据时出错显示的宽和高
            "defaultWidth": 4, //默认宽度
            "defaultHeight": 3 //默认高度
        }
    }
}