Commit 3eef7a58 authored by jyx's avatar jyx

new

parent 03df497e
......@@ -129,12 +129,16 @@
this.isFirstLoad = false
this.queryList()
} else {
this.videoContext?.play()
tt.createVideoContext('' + this.originList[originIndex].vedioIndex, this).play();
// this.videoContext?.play()
}
},
stop() {
// audo.pause()
this.videoContext?.pause()
// this.videoContext?.pause()
tt.createVideoContext('' + this.originList[originIndex].vedioIndex, this).pause();
},
queryList() {
// 推荐
......@@ -221,13 +225,19 @@
}
console.log('++++++++++++上一条播放数据 Index:', this.oid)
// audo.pause()
this.videoContext = uni.createVideoContext("" + this.originList[this.oid].vedioId, this)
this.videoContext.pause()
this.videoContext.stop()
// this.videoContext = uni.createVideoContext("" + this.originList[this.oid].vedioId, this)
// this.videoContext.pause()
// this.videoContext.stop()
tt.createVideoContext('' + this.originList[this.oid].vedioIndex, this).pause();
setTimeout(() => {
console.log('qqqqqq:', this.originList[originIndex].vedioId)
this.videoContext = uni.createVideoContext("" + this.originList[originIndex].vedioId, this)
this.videoContext.play()
// this.videoContext = uni.createVideoContext("" + this.originList[originIndex].vedioId, this)
// this.videoContext.play()
tt.createVideoContext('' + this.originList[originIndex].vedioIndex, this).play();
}, 500)
var pCount = this.originList.length - this.playCount
if (originIndex == pCount) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment