视频模式:视频模式是指视频画面的显示模式,本播放器可以在配置文件中设定播放器的初始化模式。视频模式共分:
默认等比模式/铺满拉伸/ 4:3/ 16:9 四种模式。
参数名称 | 数据类型 | 参数描述 | 备注 |
视频模式 功能相关的参数 | |||
JcScpsetMode | Number | 视频初始播放模式 | 值为1 / 2 / 3 / 4 分别对应 默认等比模式/铺满拉伸/4:3/16:9 |
当您希望初始化设定视频模式时,可以直接在配置文件中设定,如下( 注意红色加粗 ):
例(4.10)-1:配置文件参数范例 (以下,值为1 ,表示初始化视频将以 默认[等比缩放] 模式来显示)
<CuPlayer>
<Player_Set
JcScpBufferTime = "5"
JcScpVolume = "75"
JcScpCode = "utf8"
JcScpImgDisplay = "no"
JcScpAutoHideControl ="yes"
JcScpControlHideTime ="0.5"
JcScpControlHeight ="40"
JcScpShowLis t= "yes"
JcScpAutoRepeat = "no"
JcScpsetMode = "1"
JcScpAFrontCanClose = "no"
JcScpShowRightmenu = "yes"
JcScpShareMode = "JcScpVideoPath"
/>
<Logo_Set
JcScpLogoDisplay = "yes"
......
......
例(4.10)-2:配置文件参数范例 (以下,值为2 ,表示初始化视频将以 铺满拉伸 模式来显示)
<CuPlayer>
<Player_Set
JcScpBufferTime = "5"
JcScpVolume = "75"
JcScpCode = "utf8"
JcScpImgDisplay = "no"
JcScpAutoHideControl ="yes"
JcScpControlHideTime ="0.5"
JcScpControlHeight ="40"
JcScpShowLis t= "yes"
JcScpAutoRepeat = "no"
JcScpsetMode = "2"
JcScpAFrontCanClose = "no"
JcScpShowRightmenu = "yes"
JcScpShareMode = "JcScpVideoPath"
/>
<Logo_Set
JcScpLogoDisplay = "yes"
......
......
例(4.10)-3:配置文件参数范例 (以下,值为3 ,表示初始化视频将以 4:3 模式来显示)
<CuPlayer>
<Player_Set
JcScpBufferTime = "5"
JcScpVolume = "75"
JcScpCode = "utf8"
JcScpImgDisplay = "no"
JcScpAutoHideControl ="yes"
JcScpControlHideTime ="0.5"
JcScpControlHeight ="40"
JcScpShowLis t= "yes"
JcScpAutoRepeat = "no"
JcScpsetMode = "3"
JcScpAFrontCanClose = "no"
JcScpShowRightmenu = "yes"
JcScpShareMode = "JcScpVideoPath"
/>
<Logo_Set
JcScpLogoDisplay = "yes"
......
......
例(4.10)-4:配置文件参数范例 (以下,值为4 ,表示初始化视频将以 16:9 模式来显示)
<CuPlayer>
<Player_Set
JcScpBufferTime = "5"
JcScpVolume = "75"
JcScpCode = "utf8"
JcScpImgDisplay = "no"
JcScpAutoHideControl ="yes"
JcScpControlHideTime ="0.5"
JcScpControlHeight ="40"
JcScpShowLis t= "yes"
JcScpAutoRepeat = "no"
JcScpsetMode = "4"
JcScpAFrontCanClose = "no"
JcScpShowRightmenu = "yes"
JcScpShareMode = "JcScpVideoPath"
/>
<Logo_Set
JcScpLogoDisplay = "yes"
......
......