diff --git a/packages/client/src/components/media-banner.vue b/packages/client/src/components/media-banner.vue index c9e0ae1cae..0c44c7aaea 100644 --- a/packages/client/src/components/media-banner.vue +++ b/packages/client/src/components/media-banner.vue @@ -46,12 +46,10 @@ function volumechange() { if (audioEl) ColdDeviceStorage.set('mediaVolume', audioEl.volume); } -const playerInstance = ref(); - onMounted(() => { if (audioEl) { audioEl.volume = ColdDeviceStorage.get('mediaVolume'); - playerInstance.value = new Vlitejs('#player'); + new Vlitejs('#player'); } });