fix
This commit is contained in:
parent
3d17365482
commit
34bd687209
2 changed files with 4 additions and 3 deletions
|
@ -48,9 +48,10 @@
|
|||
})
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
async beforeDestroy() {
|
||||
if(this.hls) {
|
||||
this.hls.destroy();
|
||||
await this.hls.destroy();
|
||||
this.hls = null
|
||||
console.log('killed')
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
v-observe-visibility="{callback: visibilityChanged}">
|
||||
<img :src="app.getMediaItemArtwork(url, size)" v-if="isVisible"
|
||||
class="mediaitem-artwork--img">
|
||||
<div v-show="video && isVisible" class="animatedartwork-view-box">
|
||||
<div v-if="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