For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.

<AudioPlayer>

Play audio with waveform and playback controls.

View as Markdown

The <AudioPlayer> system component displays a waveform of the audio, as well as controls for playing or pausing and modifying the playback speed.

interface AudioPlayerProps

Properties

src
: string

Source URL of the audio file to play.

filename (optional)
: string

Name of the audio file that's being played.

onError (optional)
: () => void

Callback that runs when an error is encountered during playback.