fix for music videos
This commit is contained in:
parent
83e77146f0
commit
6585bcde1b
2 changed files with 5 additions and 3 deletions
|
@ -39,8 +39,10 @@
|
|||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.hls.destroy();
|
||||
console.log('killed')
|
||||
if(this.hls) {
|
||||
this.hls.destroy();
|
||||
console.log('killed')
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
|
@ -10,7 +10,7 @@
|
|||
v-observe-visibility="{callback: visibilityChanged}">
|
||||
<img :src="app.getMediaItemArtwork(url, size)" v-if="isVisible"
|
||||
class="mediaitem-artwork--img">
|
||||
<div v-if="video && isVisible" class="animatedartwork-view-box">
|
||||
<div v-show="video && isVisible" class="animatedartwork-view-box">
|
||||
<animatedartwork-view :video="video"></animatedartwork-view>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue