diff --git a/components/ItemEditor.tsx b/components/ItemEditor.tsx
index a08aeea..15ef662 100644
--- a/components/ItemEditor.tsx
+++ b/components/ItemEditor.tsx
@@ -9,6 +9,7 @@ import { SOUND_CATEGORIES, EMOJIS } from "@/lib/bingo-data";
import { Badge } from "./ui/badge";
import { ResourceBrowser, DragData } from "./ResourceBrowser";
import { playSoundOnce } from "@/lib/sounds";
+import { SoundPlayerBar } from "./SoundPlayerBar";
type Item = {
id: string;
@@ -222,7 +223,7 @@ export function ItemEditor({ campaign }: { campaign: Campaign }) {
if (!item) return;
if (data.type === "sound") {
- playSoundOnce(data.url);
+ playSoundOnce(data.url, data.originalName);
await updateItem({ ...item, soundCategory: "custom", soundUrl: data.url });
} else if (data.type === "image") {
await updateItem({ ...item, imageUrl: data.url });
@@ -317,7 +318,7 @@ export function ItemEditor({ campaign }: { campaign: Campaign }) {
{editSoundUrl && (
✓ sound loaded
-
+
)}
@@ -374,7 +375,7 @@ export function ItemEditor({ campaign }: { campaign: Campaign }) {
{item.soundUrl && (