This commit is contained in:
ThatOneCalculator 2022-07-13 23:25:07 -07:00
parent 7101ceefb1
commit 2292c42742

View file

@ -46,12 +46,10 @@ function volumechange() {
if (audioEl) ColdDeviceStorage.set('mediaVolume', audioEl.volume); if (audioEl) ColdDeviceStorage.set('mediaVolume', audioEl.volume);
} }
const playerInstance = ref();
onMounted(() => { onMounted(() => {
if (audioEl) { if (audioEl) {
audioEl.volume = ColdDeviceStorage.get('mediaVolume'); audioEl.volume = ColdDeviceStorage.get('mediaVolume');
playerInstance.value = new Vlitejs('#player'); new Vlitejs('#player');
} }
}); });
</script> </script>