代码调整

This commit is contained in:
joylink_cuiweidong 2022-09-26 18:27:05 +08:00
parent e042b728e8
commit 4b3fefbf27
2 changed files with 7 additions and 9 deletions

View File

@ -4,7 +4,7 @@
<div v-if="lineCode == '07'" id="jlReal3d" class="jlReal3d">
<div class="realCctv1">
<video id="myvideo0" class="video-js">
<source src="http://160.20.60.15/hls/cctv1.m3u8" type="application/x-mpegURL">
<source src="http://160.20.60.15/hls/cctv2.m3u8" type="application/x-mpegURL">
</video>
</div>
<div class="realCctv2">
@ -126,9 +126,6 @@ export default {
console.log('loadedmetadata');
//
// startVideo();
});
this.on('play', function() {
console.log('play');
var lastTime = -1;
// var tryTimes = 0;
let isVideoBreak = null;
@ -149,7 +146,9 @@ export default {
// tryTimes = 0;
}
}, 3000);
});
this.on('play', function() {
console.log('play');
});
}
);

View File

@ -55,9 +55,6 @@ export default {
console.log('loadedmetadata');
//
// startVideo();
});
this.on('play', function() {
console.log('play');
var lastTime = -1;
// var tryTimes = 0;
let isVideoBreak = null;
@ -78,7 +75,9 @@ export default {
// tryTimes = 0;
}
}, 3000);
});
this.on('play', function() {
console.log('play');
});
});
this.videoList.push(videoPlay);