File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 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' ) ;
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 }
You can’t perform that action at this time.
0 commit comments