获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
补一张图 开发工具里面存在requestFullScreen() 真机测试不存在 [图片] 求帮忙解答一下,万分感谢!
requestFullScreen不能全屏<live-player id="myLive" src="{{url}}" mode="RTC" autoplay bindstatechange="statechange" binderror="error" style="width:100%;"> <cover-view class="controls"> <cover-image class="img" src="/images/fullscreen.png" bindtap="fullscreen" /> </cover-view> </live-player> onReady: function () { this.videoCtx = wx.createVideoContext('myLive') }, fullscreen: function () { console.log(this.videoCtx) console.log(this.videoCtx.__proto__) this.videoCtx.__proto__.requestFullScreen({ direction: 90, }) console.log("进入全屏") }, [图片]
2018-06-22