Overview
In src/components/audio/AudioPlayer.tsx the effect (lines 32-44) listens only for canplay/stalled with no error handler, so a failed source leaves the loader spinning forever with no error state shown. Add an error listener that surfaces a load-failure state and reset autoplay correctly on source change.
Overview
In src/components/audio/AudioPlayer.tsx the effect (lines 32-44) listens only for canplay/stalled with no error handler, so a failed source leaves the loader spinning forever with no error state shown. Add an error listener that surfaces a load-failure state and reset autoplay correctly on source change.