live-player 调用 requestFullScreen 无法全屏
live-player 调用 requestFullScreen 无法全屏, 下图是调用时候的日志。
对应代码。
handleRequestFullScreen() {
// var tmpVc = wx.createLivePlayerContext(“video-livePlayer”);
console.log(“调用全屏播放”);
this.videoContext.stop({
success() {
console.log(“stop success!”);
},
fail() {
console.log(“stop fail!”);
}
});
this.videoContext.requestFullScreen({ direction: 90 });
console.log(“调用全屏播放结束”);
},