Skip to content
zenui/react-hooks

useAudio

Play a sound and track its playback state without rendering an audio element. Use it for notification sounds, previews and simple players.

Level
Intermediate
Since
v1.0.0
import {useAudio} from '@zenuilabs/react-hooks';
Loading demo_

More in Media