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

Skip to content

Commit 24f2ed7

Browse files
committed
[CHG]删除轻应用播放窗口中黄色线
1 parent 0fb386a commit 24f2ed7

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
@@ -201,6 +201,9 @@
201201
// 修订 - 支持JS Decoder 允许非字符串配置项
202202
if (typeof playParams === 'object' && playParams.hasOwnProperty('decoderPath')) {
203203
/* 校验播放器配置参数合法性 */
204+
var oS=document.createElement('style');
205+
document.getElementsByTagName("head")[0].appendChild(oS);
206+
oS.innerHTML= '.draw-window {border: none!important}';
204207
// 解码器路径
205208
if (typeof playParams.decoderPath !== 'string' || typeof playParams.decoderPath === 'undefined') {
206209
throw new Error('EZUIDecoder requires the path of decoder');
@@ -1490,6 +1493,7 @@
14901493
if (!!this.jSPlugin) {
14911494
var openSoundRT = this.jSPlugin.JS_OpenSound(iWind || 0);
14921495
openSoundRT === 0 ? this.log('开启声音成功') : this.log('开启声音失败','error');
1496+
return openSoundRT;
14931497
} else {
14941498
throw new Error("Method not support");
14951499
}

0 commit comments

Comments
 (0)