4.19 播放器logo设定

 

播放器logo参数,请在播放器的[配置文件]中,按自己的实际情况进行设定,可以设定是否显示Logo,Logo地址,Logo显示位置,Logo宽度,Logo高度,Logo透明度,具体示例参考如下:

 

播放器Logo设置参数
JcScpLogoDisplay String 是否显示Logo图标 yes/no
JcScpLogoPath String Logo地址  
JcScpLogoPosition String Logo位置 top-right/top-left/bottom-left/bottom-right
JcScpLogoWidth Number Logo宽度  
JcScpLogoHeight Number Logo高度  
JcScpLogoAlpha Number Logo透明度 值为0.0 - 1.0

 

例(2.3.1)-1:播放器logo参数设定示例2 (显示Logo、Logo具右上角、Logo透明度为100%)

//配置文件参数
......
<Logo_Set
JcScpLogoDisplay = "yes"
JcScpLogoPath = "images/logo.png"
JcScpLogoPosition = "top-left"
JcScpLogoWidth = "180"
JcScpLogoHeight = "70"
JcScpLogoAlpha = "1"
/>
......

本例效果:

 

例(2.3.1)-2:播放器logo参数设定示例2 (显示Logo、Logo具左上角、Logo透明度为100%)

//配置文件参数
......
<Logo_Set
JcScpLogoDisplay = "yes"
JcScpLogoPath = "images/logo.png"
JcScpLogoPosition = "top-right"
JcScpLogoWidth = "180"
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"
/>
......