|
@@ -296,7 +296,7 @@ export default {
|
|
|
}).catch(function (e) {});
|
|
}).catch(function (e) {});
|
|
|
that.coverPlaying = false;
|
|
that.coverPlaying = false;
|
|
|
that.convertKey = "";
|
|
that.convertKey = "";
|
|
|
- if (callback )callback();
|
|
|
|
|
|
|
+ // if (callback )callback();
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
playFromStreamInfo: function (realHasAudio, streamInfo) {
|
|
playFromStreamInfo: function (realHasAudio, streamInfo) {
|
|
@@ -306,7 +306,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
close: function () {
|
|
close: function () {
|
|
|
console.log('关闭视频');
|
|
console.log('关闭视频');
|
|
|
- if (!this.$refs.videoPlayer){
|
|
|
|
|
|
|
+ if (this.$refs.videoPlayer){
|
|
|
this.$refs.videoPlayer.pause();
|
|
this.$refs.videoPlayer.pause();
|
|
|
}
|
|
}
|
|
|
this.videoUrl = '';
|
|
this.videoUrl = '';
|