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

Cannot play audio twice in android. #120

Open
TheChanDI opened this issue Apr 8, 2021 · 2 comments
Open

Cannot play audio twice in android. #120

TheChanDI opened this issue Apr 8, 2021 · 2 comments

Comments

@TheChanDI
Copy link

After the first mount of the screen, I can play the audio then after the audio has finished playing I cannot replay the audio.

@intimateo
Copy link

I was facing with the same issue and I changed prepareAsync() to prepare() in the RNSoundPlayerModule.java line 208, especially when you try to load .mp3 files

@xC0der
Copy link

xC0der commented Aug 24, 2021

Should probably submit a pull request if that fixed it. Following this link is a work around as well: https://github.com/johnsonsu/react-native-sound-player/issues/89#issuecomment-707658113

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

3 participants