joshwcomeau / use-sound

A React Hook for playing sound effects
MIT License
2.76k stars 98 forks source link

Is it possible to play the sound on repeat? #137

Open kmiwa007 opened 1 year ago

kmiwa007 commented 1 year ago

Ooo nm, you pass in loop: true

ex.

const [play] = useSound(mySound, { loop: true });