Skip to content
WJunction - Webmaster Forum

How to do Play/Stop button?

Status
Not open for further replies.
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, and button will be again "play".
Also if someone clicks play, then click on another play it's will stop automate and start the new song.

Regards.
 

20 comments

Here is a good link for several different ways. And you can always use the embed for media player.

Code:
http://www.makeuseof.com/tag/embed-mp3-player-website/
 
I think that I don't explain me well.
I don't need mp3 player, I just need I think that it's Javascript code, then when I click on "play" it will be "stop" (the text will change), and then when I click on "stop" the text will be "play", and also it'll start/stop the player.

Regards.
 
I think that I don't explain me well.
I don't need mp3 player, I just need I think that it's Javascript code, then when I click on "play" it will be "stop" (the text will change), and then when I click on "stop" the text will be "play", and also it'll start/stop the player.

Regards.
I suppose every player would do that.
Which one are you using currently?
 
I'd personally upload that shit to grooveshark.com and use their api. Will save you a fuckload on bandwidth possibly.
 
Status
Not open for further replies.

About the author

C
Senior Member · Joined
1,005
Messages
11
Reactions
38
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom