(
+ el: PlayerElement,
+ key: K,
+ value: HTMLAudioElement[K]
+) {
+ if (!el) return;
+ el[key] = value;
+}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 0a45b69..62d4e6f 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -1,3 +1,41 @@
-Welcome to your library project
-Create your package using @sveltejs/package and preview/showcase your work with SvelteKit
-Visit kit.svelte.dev to read the documentation
+
+
+Demo
+
+Native audio controls
+
+
+Custom audio controls
+
+Audio Actions
+
+
+
+
+
+Seeking
+
+
+
+
+
+
+Playback Rate
+
+{#each [0.5, 1, 2, 3] as rate}
+
+{/each}
+
+Volume
+
+{#each [0, 0.25, 0.5, 0.75, 1] as v}
+
+{/each}
diff --git a/static/example.mp3 b/static/example.mp3
new file mode 100644
index 0000000..4b52fce
Binary files /dev/null and b/static/example.mp3 differ