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

ios无效 #11

Open
wtl8181 opened this issue Mar 8, 2022 · 4 comments
Open

ios无效 #11

wtl8181 opened this issue Mar 8, 2022 · 4 comments

Comments

@wtl8181
Copy link

wtl8181 commented Mar 8, 2022

ios系统无法唤起全屏

@any86
Copy link
Owner

any86 commented Mar 9, 2022

感谢反馈, 我百度了下, ios浏览器好像不支持api控制全屏, 我再研究研究别的方式

@any86
Copy link
Owner

any86 commented Mar 9, 2022

image
ipad可以, iphone不行.

@JACK-ZHANG-coming
Copy link

不行的话给个判断方式呀,大佬,ios屏幕直接白屏了,有什么方式可以兼容一下呢?

@JACK-ZHANG-coming
Copy link

针对ios白屏引入时的兼容方式:
`try {
Module = require("../../node_modules/be-full");
beFull = Module.beFull;
}
catch {
console.log('引用全屏插件失败');
}

beFull && beFull();
`

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

3 participants