修改
This commit is contained in:
parent
6dbf99a798
commit
69a4d097cb
@ -89,6 +89,16 @@
|
||||
// 锁定竖屏
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
},
|
||||
onHide() {
|
||||
var that = this
|
||||
uni.getSystemInfo({
|
||||
success: function(res) {
|
||||
if (res.platform == 'ios') {
|
||||
that.videoContext.exitFullScreen();
|
||||
} else {}
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
//播放进度变化
|
||||
videotimeupdate(e) {
|
||||
|
||||
@ -79,6 +79,16 @@
|
||||
videoerroshow: true,
|
||||
};
|
||||
},
|
||||
onHide() {
|
||||
var that = this
|
||||
uni.getSystemInfo({
|
||||
success: function(res) {
|
||||
if (res.platform == 'ios') {
|
||||
that.videoContext.exitFullScreen();
|
||||
} else {}
|
||||
}
|
||||
});
|
||||
},
|
||||
onLaunch: function() {
|
||||
// 锁定横屏
|
||||
// plus.screen.lockOrientation("landscape-primary");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user