feat: expand media playback and security scan options

- Add resume, speed selection, and controls-free media mode
- Run Trivy daily and secrets/code scans weekly
- Document new MediaPlayer options in README
This commit is contained in:
Gabriel20xx committed 2026-11-15 19:24:19 +01:00
1 parent d20eb96969
commit fc01c93aeb
6 files changed
+292 -16

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
<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 />