We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
3.0.16 您使用的操作系统和浏览器分别是? What OS and browser are you using? win10 chrome
如何复现问题? How to reproduce the problem?
const { saveScreenShot } = playerRef.getPlugin('screenshot') playerRef .getPlugin('screenshot') .shot() .then((res) => { saveScreenShot(res, '截图.png') })
您期望的播放器正常行为是? What did you expect to happen? 在qiankun中可以支持下载
实际播放器的表现是? What actually happened?
可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.
The text was updated successfully, but these errors were encountered:
暂时可以这么解决
playerRef .getPlugin('screenshot') .shot() .then((res) => { // 下载截图 saveScreenShot 播放器 不支持qiankun const saveLink = document.createElement('a') saveLink.href = res saveLink.download = '截图.png' document.body.appendChild(saveLink) saveLink.click() window.URL.revokeObjectURL(saveLink) })
Sorry, something went wrong.
@liu-collab 请问您的chrome浏览器版本具体是多少?我看你的提的是和华为乾坤有关,这是车机系统里的问题吗?
fix: 🐛 (xgplayer) 修复截图在部分机型失败的问题 #1396
9e01e41
2e6ba92
微前端:https://qiankun.umijs.org/zh
No branches or pull requests
您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
3.0.16
您使用的操作系统和浏览器分别是? What OS and browser are you using?
win10 chrome
如何复现问题? How to reproduce the problem?
您期望的播放器正常行为是? What did you expect to happen?
在qiankun中可以支持下载
实际播放器的表现是? What actually happened?
可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.
The text was updated successfully, but these errors were encountered: