Does anybody have an example of a musicplayer done with phonegap?
I would like a player with just some controls, play, pause and next.
And a playlist of .mp3s files.
store your music list in sqldb engine of HTML5. do add, update, delete operation on list and show that list on screen in combobox or any other self created control,
select the song from combo-box and give the url of song to audio tag of HTML5, it will play music for you.
<audio src="your list item's(mp3 file) path(local or server url)" controls="controls"> <!--If your borwser does not support HTML5.--> <!--then browser does not support the audio element.--> </audio>
I'm assuming this is for mobile as you're using PhoneGap. I wrote a tutorial for PhoneGap Media API and jQuery Mobile app that does what you mentioned (for Android, but code should be cross-platform). Not sure if html5 audio element worked for you.
please go through this Link, and you will get how to install the media players on phone-gap.
Audio Player which will play music
it will support in phonegap.
I found these pretty good tutorials/examples:
Ionic Framework, Cordova and File API – A Media Player App
Build an AudioPlayer with PhoneGap: Application Setup
Hack a Mobile Music Application With Angular