feat: shared player with 6s cap, progress bar, stop button
Deploy / build-and-deploy (push) Successful in 1m43s
Deploy / build-and-deploy (push) Successful in 1m43s
This commit is contained in:
@@ -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)}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user