测试安卓荣耀8是可以的,不知道其他行不行,如果有不行的就留个言,谢谢,(需要用手机才有效果)
<video id="myvideo" bindplay='playVideo' autoplay='true' src="{{path}}" bindfullscreenchange="fullScreen" bindended="closeVideo" controls poster="" >
</video>
js
/**
* 生命周期函数--监听页面显示
*/
onShow: function() {
this.videoContext = wx.createVideoContext('myvideo', this);
this.videoContext.requestFullScreen({ direction: 90 });
},