Titanium.Media.MusicPlayer with local MP3 file ?
Is there a possibility to use the Titanium.Media.MusicPlayer with local MP3 file ?
I don't know how to set setQueue to a local MP3 file.
Thanks,
Johan
1 Answer
-
Accepted Answer
I'm pretty certain that the MusicPlayer functions will only work for files/tracks in your iPod library.
To play a local mp3 file which is in your app Resources, you'd need to use the Sound object.
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Media.Sound-object