no commit message

This commit is contained in:
niandeng
2022-02-09 09:45:46 +08:00
parent c2844a4690
commit 98ec8640ed
3 changed files with 19 additions and 2 deletions
+1
View File
@@ -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;
+1
View File
@@ -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
View File
@@ -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{