|
@@ -2549,13 +2549,13 @@ export default {
|
|
if (this.timer) {
|
|
if (this.timer) {
|
|
clearInterval(this.timer);
|
|
clearInterval(this.timer);
|
|
}
|
|
}
|
|
|
|
+ this.vid = item.recordingUrl;
|
|
|
|
+ // #ifdef MP-WEIXIN
|
|
if (this.vid) {
|
|
if (this.vid) {
|
|
- //切换视频
|
|
|
|
- // var polyvPlayerContext = this.selectComponent("#playerVideo");
|
|
|
|
- polyvPlayerContext.changeVid(item.recordingUrl);
|
|
|
|
- } else {
|
|
|
|
- this.vid = item.recordingUrl;
|
|
|
|
|
|
+ polyvPlayerContext.changeVid(this.vid);
|
|
}
|
|
}
|
|
|
|
+ // #endif
|
|
|
|
+
|
|
this.recordObj = { videoCurrentTime: item.noteSecond };
|
|
this.recordObj = { videoCurrentTime: item.noteSecond };
|
|
if (this.recordObj.videoCurrentTime) {
|
|
if (this.recordObj.videoCurrentTime) {
|
|
this.needSeek = true; //需要跳转到播放记录
|
|
this.needSeek = true; //需要跳转到播放记录
|
|
@@ -2572,12 +2572,13 @@ export default {
|
|
// #ifdef H5
|
|
// #ifdef H5
|
|
// await this.clears();
|
|
// await this.clears();
|
|
// #endif
|
|
// #endif
|
|
|
|
+ this.vid = item.recordingUrl;
|
|
|
|
+ // #ifdef MP-WEIXIN
|
|
if (this.vid) {
|
|
if (this.vid) {
|
|
- //切换视频
|
|
|
|
- polyvPlayerContext && polyvPlayerContext.changeVid(item.recordingUrl);
|
|
|
|
- } else {
|
|
|
|
- this.vid = item.recordingUrl;
|
|
|
|
|
|
+ polyvPlayerContext && polyvPlayerContext.changeVid(this.vid);
|
|
}
|
|
}
|
|
|
|
+ // #endif
|
|
|
|
+
|
|
this.recordObj = null;
|
|
this.recordObj = null;
|
|
this.recordObj = await this.getRecordLast();
|
|
this.recordObj = await this.getRecordLast();
|
|
this.needSeek = true; //跳转到播放记录
|
|
this.needSeek = true; //跳转到播放记录
|