Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有些环境下无法正确加载JSPlayerModule,导致一直呈现初始化播放完成 #233

Open
qykhhhhhhh opened this issue Jul 25, 2024 · 3 comments

Comments

@qykhhhhhhh
Copy link

qykhhhhhhh commented Jul 25, 2024

bug 描述(Describe the bug)

有些环境下无法正确加载JSPlayerModule,导致一直呈现初始化播放完成
image
image

debug过程:
正确情况下:
1
2
可以看到正确加载了JSPlayerModule

错误情况下:
4
3
key可以看到没有加载JSPlayerModule

并且两次都成功加载了decoder.js
image

其中的内容为:
image

规避方法:
我在this.player = new EZUIKit.EZUIKitPlayer之前,、
手动执行了
window.JSPlayerModule = function() {

};
这样可以正确播放

@freeshineit
Copy link
Collaborator

什么环境 , 前端微应用(乾坤)吗?

@qykhhhhhhh
Copy link
Author

什么环境 , 前端微应用(乾坤)吗?

是的

@freeshineit
Copy link
Collaborator

什么环境 , 前端微应用(乾坤)吗?

是的

乾坤子应用自身有拦截, 资源需要放置在主应用中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants