+ {/* Large Album Art */}
+
+ {state.current_sound?.thumbnail ? (
+
})
{
+ // Hide image and show music icon if thumbnail fails to load
+ const target = e.target as HTMLImageElement
+ target.style.display = 'none'
+ const musicIcon = target.nextElementSibling as HTMLElement
+ if (musicIcon) musicIcon.style.display = 'block'
+ }}
+ />
+ ) : null}
+
+
+
+ {/* Track Info */}
+
+
+ {state.current_sound && (state.current_sound.extract_url || state.current_sound.id) && (
+
+
+
+
+
+ {state.current_sound.extract_url && (
+
+
+
+ Source
+
+
+ )}
+
+
+ File
+
+
+
+ )}
+
+ {state.current_sound?.name || 'No track selected'}
+
+
+ {state.playlist && (
+
+ {state.playlist.name}
+
+ )}
+
+
+ {/* Progress Bar */}
+
+
+
+ {/* Large Controls */}
+
+
+
+
+
+
+
+ {/* Secondary Controls */}
+
+
+
+
+ {state.mode.replace('_', ' ')}
+
+
+
+
+
+
+
+
+
+ {Math.round(isMuted ? 0 : state.volume)}%
+
+
+
+