An audio player enables a user to access audio files. Find examples on how to use
AudioPlayer
and set loading and error states.
npm install @ausbom/audio-player
import AudioPlayer from '@ausbom/audio-player'
import React from 'react'
<AudioPlayer url="http://commondatastorage.googleapis.com/codeskulptor-demos/riceracer_assets/music/start.ogg"/>