修改
This commit is contained in:
parent
8dee015d95
commit
6f9ce48dfd
@ -83,6 +83,12 @@
|
|||||||
videoContext: undefined,
|
videoContext: undefined,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
onLaunch: function() {
|
||||||
|
// 锁定横屏
|
||||||
|
// plus.screen.lockOrientation("landscape-primary");
|
||||||
|
// 锁定竖屏
|
||||||
|
plus.screen.lockOrientation("portrait-primary");
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//播放进度变化
|
//播放进度变化
|
||||||
videotimeupdate(e) {
|
videotimeupdate(e) {
|
||||||
|
|||||||
@ -79,6 +79,12 @@
|
|||||||
videoerroshow: true,
|
videoerroshow: true,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
onLaunch: function() {
|
||||||
|
// 锁定横屏
|
||||||
|
// plus.screen.lockOrientation("landscape-primary");
|
||||||
|
// 锁定竖屏
|
||||||
|
plus.screen.lockOrientation("portrait-primary");
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//播放进度变化
|
//播放进度变化
|
||||||
videotimeupdate(e) {
|
videotimeupdate(e) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user