diff --git a/src/components/layout/PlayerBar.tsx b/src/components/layout/PlayerBar.tsx index a5efc21..204dc4d 100644 --- a/src/components/layout/PlayerBar.tsx +++ b/src/components/layout/PlayerBar.tsx @@ -1,82 +1,32 @@ -import { useState } from 'react' -import { Play, Pause, Volume2, VolumeX, SkipBack, SkipForward, Maximize2, Minimize2 } from 'lucide-react' +import { Play, Pause, Volume2, VolumeX, SkipBack, SkipForward } from 'lucide-react' import { usePlayerStore } from '@/stores/player' import { formatDuration } from '@/lib/utils' -import { getEmbedInfo } from '@/lib/embed' import { Avatar } from '@/components/ui/Avatar' export function PlayerBar() { const { current, isPlaying, isExternal, progress, duration, volume, toggle, seek, setVolume } = usePlayerStore() - const [expanded, setExpanded] = useState(false) if (!current) return null - const embedInfo = isExternal ? getEmbedInfo(current.audio_url) : null - - // External content: show expandable embed player - if (isExternal && embedInfo && isPlaying) { - return ( -
- {expanded && ( -
-