在线客服QQ: 176797520 极酷FlvPlayer在线客服 酷播网页视频播放器

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"
/>
......