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

Skip to content

Commit f3fd527

Browse files
committed
[fix]修复视频重新初始化异步加载回调未定义问题
1 parent 177b0ba commit f3fd527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ezuikit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,8 +1758,8 @@ function addCss(filepath, callback) {
17581758
if(playParams.decoderVersion) {
17591759
var jsPluginPath = playParams.decoderPath + '/js/versions/' + playParams.decoderVersion + '/jsPlugin-1.2.0.min.js?v=20211012';
17601760
if(playParams.decoderVersion === "v4.0") {
1761-
addJs( playParams.decoderPath + '/js/versions/' + playParams.decoderVersion +'/AudioRenderer.js')
1762-
addJs( playParams.decoderPath + '/js/versions/' + playParams.decoderVersion +'/SuperRender_10.js')
1761+
addJs( playParams.decoderPath + '/js/versions/' + playParams.decoderVersion +'/AudioRenderer.js',()=>{})
1762+
addJs( playParams.decoderPath + '/js/versions/' + playParams.decoderVersion +'/SuperRender_10.js',()=>{})
17631763
}
17641764
}
17651765
document.getElementById(playParams.id).style.width = (playParams.width || 600) + 'px';

0 commit comments

Comments
 (0)