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

Are there any plans to implement playing audio from a url? #33

Closed
Leekao opened this issue May 9, 2016 · 6 comments
Closed

Are there any plans to implement playing audio from a url? #33

Leekao opened this issue May 9, 2016 · 6 comments

Comments

@Leekao
Copy link

Leekao commented May 9, 2016

No description provided.

@zmxv
Copy link
Owner

zmxv commented May 9, 2016

Streaming? No plans yet, but PRs are welcome.

@Leekao
Copy link
Author

Leekao commented May 9, 2016

I actually meant just playing mp3 files that aren't bundled with the apk. urls.

@zmxv
Copy link
Owner

zmxv commented May 9, 2016

It's already supported. See #24
On iOS, you can download mp3 files using react-native-fs before playing them.

@zmxv zmxv closed this as completed May 9, 2016
@Leekao
Copy link
Author

Leekao commented May 9, 2016

wow great!
@zmxv maybe it would be a good idea to update the readme because it's really not clear that option exists, should I just do new Sound(url,"",onErrorHandler)?
Apparently not, I'm getting "resource not found" errors.

@smithaitufe
Copy link

Please I am currently struggling with this.

It is not working for me

I have this situtation. The user will click a button and then I use react-native-document-picker to allow them select the mp3 file. When I try playing it, it does not work for me.

I have created an issue in the demo here

How did you manage to resolve this?

Thanks for your anticipated feedback

@harshakollipara
Copy link

Please I am currently struggling with this.

It is not working for me

I have this situtation. The user will click a button and then I use react-native-document-picker to allow them select the mp3 file. When I try playing it, it does not work for me.

I have created an issue in the demo here

How did you manage to resolve this?

Thanks for your anticipated feedback

Hi,
By any chance have you got any solution for your issue ? Actually I was trying the same uploading audio from my phone and select , but not able to play the audio file.I am using react-native-sound-player.
thanks in advance.

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

4 participants