Comments (9)
Seems like it's working for me. What platform are you on and what version of the package are you using?
from react-native-sound-player.
I'm on windows 10 and using latest version of package
from react-native-sound-player.
I just merged #25 and published to npm, maybe it will fix the issue you having. Can you upgrade to this latest version and see if it works for you?
from react-native-sound-player.
Sorry for delay. @johnsonsu the error disappeared but the song doesn't play well. Try to start play but stuck on beginning and restart over over time
from react-native-sound-player.
@ithustle Hmm, that's strange. Can you try a different audio file to make sure it's not the the file's problem?
from react-native-sound-player.
@johnsonsu I also try a different audio and no lucky ... Maybe was because you didn't set this => mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
from react-native-sound-player.
Did that fixed your issue? If you post some of your javascript code on how you are doing it right now, I can try to help you out.
from react-native-sound-player.
@johnsonsu the problem is in my project. I don't know how and why but I figure it out and I'll try to solve it. Sorry for it and thanks for your time...
from react-native-sound-player.
@ithustle I'm glad you solve it, good work!
from react-native-sound-player.
Related Issues (20)
- [BUG] TypeError: null is not an object (evaluating 'RNSoundPlayer.stop') HOT 1
- [BUG] Get info returns Duration that is less then currentTime HOT 1
- NullPointerException: Attempt to invoke virtual method 'android.content.ContentResolver android.content.Context.getContentResolver()' on a null object reference HOT 2
- Improvements
- On Creation of apk HOT 5
- [BUG] setNumberOfLoops not a function
- Cannot hear sounds in ios version 13 and can hear sounds in ios version 12 HOT 3
- [BUG] Sound keeps playing if the app is killed manually HOT 1
- Add new event listener which returns the current duration as the audio progresses. HOT 3
- Audio not playing[BUG]
- [BUG]: TypeError: Cannot read property 'playSoundFile' of null HOT 1
- [ERROR] Build failed with ios HOT 1
- Invariant Violation with IoS
- Is this repo actively maintained? HOT 1
- [BUG] - Android - SoundPlayer.loadUrl crash HOT 2
- [Question] I have a question!! HOT 2
- No sound received when App is in background/kill mode HOT 1
- [BUG] play multiple sounds HOT 2
- [BUG] iOS silence mode doesn't play on .playUrl HOT 1
- [BUG] when playing sounds, it crashes with saying attempt to invoke virtual method 'void.android.media.MediaPlayer.setOnCompletionListener HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-sound-player.