Welcome to WebmasterWorld Guest from 54.226.246.160

Forum Moderators: open

Message Too Old, No Replies

Play MP3 on mouse click

     

jmorgan

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?

abacus2011

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



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

[codingforums.com...]

<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

jmorgan

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

5+ Year Member



Thanks!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month