videoContext.requestFullScreen() 调用无效

发布于 8 年前作者 pcao14599 次浏览最后编辑 8 年前来自 ask

列表中有个video的缩略形式,想通过点击后调用videoContext.requestFullScreen(),实现全屏功能,但是在IDE 和真机上试下来都无效,有什么解决办法吗

2 回复
guiying12
guiying121 楼6 年前

你好,请提供出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

xiulandai
xiulandai2 楼6 年前

iphone7  wechat-v2.2.1 videoContext.requestFullScreen(), 真机模拟 调用这个方法直接卡死 关都关不掉