fix the top view of browse
This commit is contained in:
parent
2fca495a5d
commit
b49c079a21
4 changed files with 21 additions and 17 deletions
|
@ -10,7 +10,7 @@
|
|||
Vue.component('animatedartwork-view', {
|
||||
template: '#animatedartwork-view',
|
||||
props: ['video', 'hls'],
|
||||
mounted() {
|
||||
async mounted() {
|
||||
if (this.video) {
|
||||
|
||||
this.$nextTick(function () {
|
||||
|
@ -24,7 +24,6 @@
|
|||
capLevelToPlayerSize: true
|
||||
};
|
||||
if (this.hls) {
|
||||
console.log('detached');
|
||||
this.hls.detachMedia();
|
||||
} else {
|
||||
|
||||
|
@ -53,7 +52,6 @@
|
|||
if(this.hls) {
|
||||
await this.hls.destroy();
|
||||
this.hls = null
|
||||
console.log('killed')
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue