<AudioPlayer>

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.