Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Play MP3 on mouse click



4:18 am on Sep 14, 2011 (gmt 0)

5+ Year Member

I want to play an MP3 file when a user clicks a button/image. Is there an easy way to do this?


6:46 pm on Sep 14, 2011 (gmt 0)

i found this here if you would like to try it...


<input type="button" value="Play" onclick="play('http://somesong.mp3')"><input type="button" value="Stop" onclick="stop()">

there is also more post on this in that thread from that link


10:53 pm on Sep 14, 2011 (gmt 0)

5+ Year Member


Featured Threads

Hot Threads This Week

Hot Threads This Month