2 import { Video } from '@lucide/svelte';
5 currentItem: { name?: string } | null;
6 videoSrc: string | null;
9 let { currentItem, videoSrc }: Props = $props();
12 <div class="flex flex-1 items-center justify-center p-8">
13 <div class="w-full max-w-md text-center">
14 <Video class="mx-auto mb-4 h-16 w-16 text-white/50" />
17 <video controls class="mb-4 w-full" src={videoSrc}>
18 Your browser does not support the video element.
21 <p class="mb-4 text-white/70">Video preview not available</p>
24 <p class="text-sm text-white/50">{currentItem?.name || 'Video'}</p>