Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to loop #114

Open
Shiuan98 opened this issue Aug 3, 2022 · 1 comment
Open

Unable to loop #114

Shiuan98 opened this issue Aug 3, 2022 · 1 comment

Comments

@Shiuan98
Copy link

Shiuan98 commented Aug 3, 2022

May i know how to loop the audio using this use-sound?

@0xNike
Copy link

0xNike commented Aug 21, 2022

Hi @Shiuan98 ! You can loop the audio this way:
const [play] = useSound(url, { loop: true })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants