Added fullscreen composable and background for fullscreen

This commit is contained in:
lucast committed 2026-02-25 17:21:31 +01:00
1 parent 4754d61279
commit 78c4a6cb8e
3 files changed
+79 -4

No files matched your search

+3 -4
View File
@@ -39,6 +39,7 @@ const durationFormatted = computed(() =>
)
const toast = useToast()
const fullscreen = useFullscreen()
</script>
<template>
@@ -106,13 +107,11 @@ const toast = useToast()
name="lucide:list"
@click="toast.show('Not yet implemented')"
/>
<Icon
name="lucide:expand"
@click="toast.show('Not yet implemented')"
/>
<Icon name="lucide:expand" @click="fullscreen = true" />
</div>
</template>
</article>
<PlayerFullscreen />
</template>
<style lang="scss" scoped>