收藏
回答

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("调用全屏播放结束");

 },


回答关注问题邀请回答
收藏

1 个回答

  • 玉山陈平安
    玉山陈平安
    2018-03-07

    怎么解决的 直播全屏

    2018-03-07
    有用
    回复
登录 后发表内容