Skip to content

Handle media load errors and fix autoplay re-init in AudioPlayer #974

Description

@RUKAYAT-CODER

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.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions