Files
Claude Code 5a4bf45bc7
Security / Secrets (gitleaks) (push) Successful in 2m3s
Security / Code (Semgrep) (push) Successful in 2m22s
Security / Dependencies (Trivy) (push) Successful in 1m16s
Docker / Docker Build & Push (push) Successful in 7m40s
Sync shared snapshot from 9e58b6d
2026-11-18 14:00:13 +01:00

14 lines
441 B
Svelte

<script lang="ts">
import MediaPlayer from '../../src/lib/components/MediaPlayer.svelte';
// Mirrors how an app drives the element itself: no controls, and the element is handed back.
let { onElement }: { onElement: (element: HTMLMediaElement | null) => void } = $props();
let element = $state<HTMLMediaElement | null>(null);
$effect(() => {
onElement(element);
});
</script>
<MediaPlayer controls={false} bind:element />