<AudioPlayer>

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

interface AudioPlayerProps

Properties

filename
: string

Name of the audio file that's being played.

src
: string

Source of the audio that's being played.

onError (optional)
: () => void

Callback that runs when an error is encountered during playback.