no commit message
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 9999999;
|
z-index: 9999999;
|
||||||
width: 420px;
|
width: 420px;
|
||||||
|
max-width: 100%;
|
||||||
height: 266px;
|
height: 266px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 9999999;
|
z-index: 9999999;
|
||||||
width: 420px;
|
width: 420px;
|
||||||
|
max-width: 100%;
|
||||||
height: 266px;
|
height: 266px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
|
|||||||
+17
-2
@@ -404,16 +404,31 @@
|
|||||||
video.attr('x5-playsinline','true');
|
video.attr('x5-playsinline','true');
|
||||||
}
|
}
|
||||||
catch(event){}
|
catch(event){}
|
||||||
|
/*
|
||||||
|
* 默认设置支持小窗口模式
|
||||||
|
*/
|
||||||
CT.smallWindows=true;
|
CT.smallWindows=true;
|
||||||
|
/*
|
||||||
|
* 默认设置不显示页面全屏按钮
|
||||||
|
*/
|
||||||
CT.webFull=false;
|
CT.webFull=false;
|
||||||
|
/*
|
||||||
|
* 默认设置不显示剧场模式按钮
|
||||||
|
*/
|
||||||
CT.theatre=false;
|
CT.theatre=false;
|
||||||
loadFace();//加载播放器界面节点
|
loadFace();//加载播放器界面
|
||||||
|
/*
|
||||||
|
* 判断是否支持video标签
|
||||||
|
*/
|
||||||
if(isUndefined(video.canPlayType)){
|
if(isUndefined(video.canPlayType)){
|
||||||
CT.error={code:5,message:language['error']['supportVideoError']};
|
CT.error={code:5,message:language['error']['supportVideoError']};
|
||||||
showError();
|
showError();
|
||||||
return player;
|
return player;
|
||||||
}
|
}
|
||||||
addAllListener();//注册内部监听,监听到事件后注册给CT使用
|
/*
|
||||||
|
* 注册视频播放器内部监听,监听到事件后注册给CT使用
|
||||||
|
*/
|
||||||
|
addAllListener();
|
||||||
if(!isUndefined(vars['loaded'])){
|
if(!isUndefined(vars['loaded'])){
|
||||||
if(valType(vars['loaded'])=='function'){
|
if(valType(vars['loaded'])=='function'){
|
||||||
try{
|
try{
|
||||||
|
|||||||
Reference in New Issue
Block a user