|
@@ -3166,6 +3166,9 @@ export default {
|
|
|
polyvPlayerContext = this.selectComponent("#playerVideo");
|
|
|
if (newstate.detail.newstate == "playing") {
|
|
|
console.log("播放");
|
|
|
+ if(this.noticeShow){
|
|
|
+ polyvPlayerContext.pause();
|
|
|
+ }
|
|
|
if (this.needSeek) {
|
|
|
// var polyvPlayerContext = this.selectComponent("#playerVideo");
|
|
|
if (this.recordObj.videoCurrentTime) {
|
|
@@ -3880,8 +3883,10 @@ export default {
|
|
|
// });
|
|
|
// polyvPlayerContext = this.player;
|
|
|
polyvPlayerContext.on("s2j_onPlayStart", async (vid) => {
|
|
|
- // 视频初次播放时触发
|
|
|
console.log("视频初次播放时触发:");
|
|
|
+ if(this.noticeShow){
|
|
|
+ polyvPlayerContext.j2s_pauseVideo();
|
|
|
+ }
|
|
|
// #ifdef H5
|
|
|
// h5禁止拖动进度条
|
|
|
if (!this.$method.isWeixin()) {
|