This commit is contained in:
曹辉 2023-04-28 11:02:10 +08:00
parent 6dbf99a798
commit 69a4d097cb
2 changed files with 20 additions and 0 deletions

View File

@ -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) {

View File

@ -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");