refac: audio recording

This commit is contained in:
Timothy Jaeryang Baek
2025-05-04 18:17:35 +04:00
parent 2946f5fcce
commit 62366ad020
3 changed files with 46 additions and 32 deletions

View File

@@ -29,7 +29,8 @@
(item?.name && item?.name.toLowerCase().endsWith('.mp3')) ||
(item?.name && item?.name.toLowerCase().endsWith('.wav')) ||
(item?.name && item?.name.toLowerCase().endsWith('.ogg')) ||
(item?.name && item?.name.toLowerCase().endsWith('.m4a'));
(item?.name && item?.name.toLowerCase().endsWith('.m4a')) ||
(item?.name && item?.name.toLowerCase().endsWith('.webm'));
onMount(() => {
console.log(item);