Hi, I want to make play/stop button, I mean, when someone click on "play" button it'll start the music, and will be "stop" button, Then who will click on "stop" button, the music will stop. Also if someone clicks play, then click on another play it's will stop automate and start the new song. Regards.
I don't need player, Just when someone will click on "play" the music starts (user will not see the player). Regards.
flowplayer has an javascript api that you can use. So you can place the player inside a dive and via css move it completely out of the sceen. like position="absolute" left="-1000px" Then you can create your play, pause and stop buttons and create some custom js for them to work to your requirements. I can do that but it would cost you. send me a pm if you want me to do it.
Check out: http://www.varal.org/media/niftyplayer/ Offers a Javascript API where you can bypass the player altogether, etc.
Are you looking for a mobile based solution or you want a desktop website. function pause(){ if(this.aud.paused){ this.setButton('pause'); this.aud.play(); }else{ this.aud.pause(); this.setButton('play'); } } PHP: Here is the anchor link to invoke the function above <a onclick="pause()" href="#">Pause</a> PHP: