video组件调用requestFullScreen无效,视频不会全屏?
发布于 6 年前 作者 huanggang 9963 次浏览 来自 官方Issues

在onLoad方法里面,我获取了video对象  this.videoContext = wx.createVideoContext(‘myVideo’);

然后创建一个button,添加一个点击事件,点击事件里面写的是  this.videoContext.requestFullScreen({ direction: 0 });

在视频开始播放之后,点击button,视频并没有全屏

1 回复

你好,麻烦具体描述问题流程,提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部