Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f81daf

Browse files
committed
[CHG]新增双击视频、多窗口视频全屏播放效果
1 parent 52f4ed0 commit 6f81daf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ezuikit.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,10 @@
961961
iCurrentSplit: playParams.splitBasis || 1,
962962
szBasePath: playParams.decoderPath + '/js/',
963963
});
964+
// 注册全屏事件
965+
window.onresize = function () {
966+
_this.jSPlugin.JS_Resize(playParams.width || 600, playParams.height || 400);
967+
}
964968
_this.log("初始化解码器----完成");
965969
_this.log("开始设置秘钥");
966970
var validateCode = _this.opt.validateCode;

0 commit comments

Comments
 (0)