- 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 收费模式(节目预览)
2.3.1 播放器logo参数设定
播放器logo参数,请在播放器的[配置文件]中,按自己的实际情况进行设定,可以设定是否显示Logo,Logo地址,Logo显示位置,Logo宽度,Logo高度,Logo透明度,具体示例参考如下:
JcScpLogoDisplay = "yes" //是否显示logo
JcScpLogoPath = "Images/logo.png" //logo地址
JcScpLogoPosition = "top-right" //Logo显示位置 值为 top-right / top-left / bottom-left / bottom-right
JcScpLogoWidth = "150" //Logo宽度
JcScpLogoHeight = "70" //Logo高度
JcScpLogoAlpha = "0.5" //Logo透明度
例(2.3.1)-1:播放器logo参数设定示例2 (显示Logo、Logo具右上角、Logo透明度为100%)
//配置文件参数
......
<Logo_Set
JcScpLogoDisplay = "yes"
JcScpLogoPath = "Images/logo.png"
JcScpLogoPosition = "top-right"
JcScpLogoWidth = "150"
JcScpLogoHeight = "70"
JcScpLogoAlpha = "0.5"
/>
......
例(2.3.1)-2:播放器logo参数设定示例2 (显示Logo、Logo具左上角、Logo透明度为100%)
//配置文件参数
......
<Logo_Set
JcScpLogoDisplay = "yes"
JcScpLogoPath = "Images/logo.png"
JcScpLogoPosition = "top-left"
JcScpLogoWidth = "150"
JcScpLogoHeight = "70"
JcScpLogoAlpha = "1"
/>
......
例(2.3.1)-3:播放器logo参数设定示例3 (显示Logo、Logo具右上角、Logo透明度为50%)
//配置文件参数
......
<Logo_Set
JcScpLogoDisplay = "yes"
JcScpLogoPath = "Images/logo.png"
JcScpLogoPosition = "top-right"
JcScpLogoWidth = "150"
JcScpLogoHeight = "70"
JcScpLogoAlpha = "0.5"
/>
......
例(2.3.1)-4:播放器logo参数设定示例4 (显示Logo、Logo具右下角、Logo透明度为100%)
//配置文件参数
......
<Logo_Set
JcScpLogoDisplay = "yes"
JcScpLogoPath = "Images/logo.png"
JcScpLogoPosition = "bottom-right"
JcScpLogoWidth = "150"
JcScpLogoHeight = "70"
JcScpLogoAlpha = "1"
/>
......
例(2.3.1)-5:播放器logo参数设定示例5 (隐藏不显示Logo)
//配置文件参数
......
<Logo_Set
JcScpLogoDisplay = "no"
JcScpLogoPath = "Images/logo.png"
JcScpLogoPosition = "top-right"
JcScpLogoWidth = "150"
JcScpLogoHeight = "70"
JcScpLogoAlpha = "0.5"
/>
......