- 4.代码使用
- 4.1 [A]swfObject调用
- 4.2 [B]object调用
- 4.3 [C]Ebemb调用
- 4.4 [D]JS形式调用
- 4.5 函数接口
- 4.6 广告相关
- [1] 前置广告
- [2] 视频广告
- [3] 暂停广告
- [4] 角标广告
- [5] 后置广告
- 4.7 开灯关灯
- 4.8 高清模式
- 4.9 分享模式
- 4.10 视频模式
- 4.11 RTMP点播
- 4.12 RTMP直播
- 4.13 视频结束动作
- 4.14 色彩自定义
- 4.15 移动终端适配(New)
- 4.16 HLS直播(m3u8适配)
- 4.17 适配PC/安卓/苹果
- 4.18 收费模式(节目预览)
4.14 色彩自定义
- 色彩自定义:
播放器控制条色彩自定义(红色/黑色/蓝色/绿色/黑色/紫色…,万千色彩,由您做主)
提示说明:色彩值为网页色彩,例如网页色 #9966ff 那么 在代码中,就应转为: 0x9966ff (#转为0x ) 。
- 例(4.14)-1:色彩自定义参数说明
-
-
//配置文件参数
<SkinColor_Set
JcScpBackcolor = "0x000000" 主背景色
JcScpBackcolortop = "0x353535" 背景渐变色
JcScpLightcolor = "0xcfcfcf" 浅色
JcScpFontcolor = "0xffffff" 字体色彩
JcScptimebg = "0x393939" 时间背景色
JcScpLoadbar = "0x898989" 当前播放进度条
JcScpLoaded = "0x4d4b4b" 已加载缓冲进度条
JcScpLoadbg = "0x000000" 未加载的进度条
JcScpPlayBtn = "0x2d2d2d" 播放按钮背景
JcScpBar = "0xffffff" 进度条移动按钮
/>
-
- 例(4.14)-2:经典黑色播放器 [黑色代码参考]
-
-
//配置文件参数 黑色效果演示>>
......<SkinColor_Set
JcScpBackcolor = "0x000000"
JcScpBackcolortop = "0x353535"
JcScpLightcolor = "0xcfcfcf"JcScpFontcolor = "0xffffff"
JcScptimebg = "0x393939"JcScpLoadbar = "0x898989"
JcScpLoaded = "0x4d4b4b"
JcScpLoadbg = "0x000000"
JcScpPlayBtn = "0x2d2d2d"
JcScpBar = "0xffffff"
/>
-
- 例(4.14)-3:红色播放器 [深红配色代码参考]
-
-
//配置文件参数 红色效果演示>>
......
<SkinColor_Set
JcScpBackcolor = "0x650101"
JcScpBackcolortop = "0xc70c27"
JcScpLightcolor = "0xfda2a2"
JcScpFontcolor = "0xffffff"
JcScptimebg = "0x700205"
JcScpLoadbar = "0xf5921d"
JcScpLoaded = "0x700205"
JcScpLoadbg = "0x490103"
JcScpPlayBtn = "0x5a0102"
JcScpBar = "0xffffff"
/>
-
- 例(4.14)-4:深蓝色播放器 [深蓝色配色代码参考]
-
-
//配置文件参数 深蓝色效果演示>>
......<SkinColor_Set
JcScpBackcolor = "0x09399d"
JcScpBackcolortop = "0x32495e1"
JcScpLightcolor = "0xcfe5fa"JcScpFontcolor = "0xd5e1fb"
JcScptimebg = "0x393939"JcScpLoadbar = "0xd2e3ff"
JcScpLoaded = "0x104bab"
JcScpLoadbg = "0x043884"
JcScpPlayBtn = "0x2d2d2d"
JcScpBar = "0xffffff"
/>
-
- 例(4.14)-5:绿色播放器 [深蓝色配色代码参考]
-
-
//配置文件参数 绿色效果演示>>
......<SkinColor_Set
JcScpBackcolor = "0x317a0e"
JcScpBackcolortop = "0x7ad427"
JcScpLightcolor = "0xdefdc2"JcScpFontcolor = "0xdefdc2"
JcScptimebg = "0x36870e"JcScpLoadbar = "0xe0fbc6"
JcScpLoaded = "0x37850d"
JcScpLoadbg = "0x2f600e"
JcScpPlayBtn = "0x2d2d2d"
JcScpBar = "0xfcffff"
/>
-
- 例(4.14)-6:紫色播放器 [深蓝色配色代码参考]
-
-
//配置文件参数 紫色效果演示>>
......<SkinColor_Set
JcScpBackcolor = "0xa0024f"
JcScpBackcolortop = "0xde0e8a"
JcScpLightcolor = "0xfcaeea"JcScpFontcolor = "0xfcaeea"
JcScptimebg = "0x77023b"JcScpLoadbar = "0xfdabeb"
JcScpLoaded = "0xa60259"
JcScpLoadbg = "0x640434"
JcScpPlayBtn = "0x2d2d2d"
JcScpBar = "0xfcffff"
/>
-
- 例(4.14)-7:嫩绿色播放器 [深蓝色配色代码参考]
-
-
//配置文件参数 嫩绿色效果演示>>
......<SkinColor_Set
JcScpBackcolor = "0x627f01"
JcScpBackcolortop = "0xbcde03"
JcScpLightcolor = "0xf6f7a7"JcScpFontcolor = "0xf6f7a7"
JcScptimebg = "0x6e8200"JcScpLoadbar = "0xf7fca2"
JcScpLoaded = "0x7ca000"
JcScpLoadbg = "0x5a6702"
JcScpPlayBtn = "0x2d2d2d"
JcScpBar = "0xfcffff"
/>
-