提交
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<template>
|
||||
|
||||
<view
|
||||
class="container playerBox"
|
||||
id="playerBox"
|
||||
@@ -47,7 +48,7 @@
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-radius: 40rpx;
|
||||
border: 15rpx solid #000;
|
||||
border: 15rpx solid #000;
|
||||
padding: 40rpx 0 20rpx;
|
||||
box-sizing: border-box;
|
||||
background-size: cover;
|
||||
@@ -1054,11 +1055,12 @@ export default {
|
||||
console.log('vm at line 926:', newValue, oldValue, ownerVm, vm)
|
||||
if (newValue != null) {
|
||||
if (this.platform == "ios") {
|
||||
this.player.one("canplay", () => {
|
||||
this.player.seek(newValue);
|
||||
});
|
||||
|
||||
player.seek(newValue);
|
||||
|
||||
|
||||
} else {
|
||||
this.player.seek(newValue);
|
||||
player.seek(newValue);
|
||||
}
|
||||
this.curTime = newValue
|
||||
}
|
||||
@@ -1066,12 +1068,11 @@ export default {
|
||||
receiveMsgjumpNumber(newValue, oldValue, ownerVm, vm) {
|
||||
console.log('vm at line 926:', newValue, oldValue, ownerVm, vm)
|
||||
if (newValue != 0) {
|
||||
|
||||
if (this.platform == "ios") {
|
||||
this.player.one("canplay", () => {
|
||||
this.player.seek(newValue);
|
||||
});
|
||||
player.seek(newValue);
|
||||
} else {
|
||||
this.player.seek(newValue);
|
||||
player.seek(newValue);
|
||||
}
|
||||
this.curTime = newValue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user