Unable to play downloaded mp3 on iOS
See original GitHub issueFirst off - thanks for the module!
I’m using react-native-fetch-blob to download MP3 from a URL into the app and then play it using react-native-sound
.
However, react-native-sound
does not want to play the file when I provide the full system path to the download. It plays only files that are manually added through Xcode.
Is this a limitation of the module? Any ideas on how to overcome this?
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
Downloaded MP3 file not playing in music - Apple Community
Downloaded MP3 file not playing in music · Drag it into iTunes (or Music) · Drag it into a specific playlist (i.e., the...
Read more >How do I play regular mp3 files on my iPhone? - Quora
To play MP3 music, simply open the Apple Music app which has the music icon on it (it's a white icon). To load...
Read more >How to play MP3 files on an iPhone - TP Transcription
Download the VLC Player from the app store. · Save your MP3 files on a device. · Open the VLC Player. · Copy...
Read more >iTunes Won't Play MP3 Files? Convert MP3 to iTunes to Solve ...
1. iTunes version is out of date. Update iTunes to the latest version to play the MP3 file. 2. The MP3 file is...
Read more >Song cannot be played on this iPhone - Apple Stack Exchange
iTunes might be refusing to sync the tracks because they use an encoding format that it knows isn't supported on iOS devices.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you try putting the .play() command inside the constructor callback (i.e. the error => {}) part. If the audio isn’t loaded the .play() command is ignored.
@Pedneri1. Great!