feat: shared player with 6s cap, progress bar, stop button
Deploy / build-and-deploy (push) Successful in 1m43s

This commit is contained in:
2026-06-15 02:17:46 +03:00
parent 2dd604192f
commit 0c35693598
5 changed files with 167 additions and 48 deletions
+2 -2
View File
@@ -198,7 +198,7 @@ function SoundsTab() {
label={s.originalName}
duration={s.duration}
url={s.url}
onPlay={() => playSoundOnce(s.url)}
onPlay={() => playSoundOnce(s.url, s.originalName)}
onDelete={() => deleteSound(filename)}
/>
);
@@ -231,7 +231,7 @@ function SoundsTab() {
key={r.id}
name={r.name}
duration={r.duration}
onPreview={() => r.previewUrl && playSoundOnce(r.previewUrl)}
onPreview={() => r.previewUrl && playSoundOnce(r.previewUrl, r.name)}
onImport={() => importSound(r)}
/>
))}