Player.tsx updates: - Repeat button: ISO repeat indefinitely icon with glowing toggle state. When active: lyria-accent color, bg-lyria-accent/10, orange glow shadow. When inactive: muted gray, hover to white. Toggles audio.loop. - Skip to beginning: Now uses ISO skip-backwards icon (filled, two bars pointing left) instead of circular arrow. Title: 'Skip to beginning'. - Track end handler respects repeat state — if repeating, stays playing and loops; if not, pauses as before. - New state: isRepeating (useState), toggleRepeat function sets both React state and audioRef.current.loop.
20 KiB
20 KiB