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

micro-app微前端环境下部分图标按钮append失败 #1489

Open
Jarvis-Liu opened this issue Jun 14, 2024 · 1 comment
Open

micro-app微前端环境下部分图标按钮append失败 #1489

Jarvis-Liu opened this issue Jun 14, 2024 · 1 comment

Comments

@Jarvis-Liu
Copy link

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?

[email protected]

您使用的操作系统和浏览器分别是? What OS and browser are you using?
win11 [email protected]

如何复现问题? How to reproduce the problem?

在micro-app 微前端环境下,子应用加载视频可以正常播放/暂停,但是部分按钮没有显示,控制台报错 TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node

我提供了可以复现的demo项目地址 https://github.com/Jarvis-Liu/mono-demo 在根目录安装启动后 访问http://localhost:8800/#/child/videoPreview

您期望的播放器正常行为是? What did you expect to happen?

应该要显示所有的图标和按钮

实际播放器的表现是? What actually happened?

播放前对比
播放暂停时对比
无标题

可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.

@fucktic
Copy link

fucktic commented Aug 29, 2024

我也遇到同样问题,是否可以提供解决方案,谢谢

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