Results 1 to 7 of 7

Thread: How to play a Music/audio, when a button is clicked.
      
   

  1. #1
    nfornana is offline Private
    Join Date
    Dec 2008
    Posts
    2

    Default How to play a Music/audio, when a button is clicked.

    I would like to play a Music or Audio, when a button or link is clicked.

    Your tutorials, explains "Mouse over" actions.

    Where to find "How to configure Mouse Click" events for colours / audio etc.,

    Thanks & Regards

    Nana
    Newbie.

  2. #2
    dougnez's Avatar
    dougnez is offline Brigadier General
    Join Date
    Aug 2006
    Location
    Midwest USA
    Posts
    1,769

    Default Re: How to play a Music/audio, when a button is clicked.

    Hi nfornana
    Here http://www.vodahost.com/vodatalk/blu...ayer-page.html is an example of music presentation Naval showed me... take a look... Doug

  3. #3
    nfornana is offline Private
    Join Date
    Dec 2008
    Posts
    2

    Default Re: How to play a Music/audio, when a button is clicked.

    Thanks for the info

    Nana.

  4. #4
    mrmagoo144's Avatar
    mrmagoo144 is offline Brigadier General
    Join Date
    Feb 2007
    Posts
    1,369

    Default Re: How to play a Music/audio, when a button is clicked.

    if you dont want to use an iframe, then just ftp your file to the server using the ftp manager under tools. name your file short, no caps, no spaces, such as file1.wav
    then use eithe a text link or an image to link your music file to the page. your link will look like this
    www.yourwebsitename.com/file1.wav

    when someone clicks on this link the music will come up.

  5. #5
    dougnez's Avatar
    dougnez is offline Brigadier General
    Join Date
    Aug 2006
    Location
    Midwest USA
    Posts
    1,769

    Default Re: How to play a Music/audio, when a button is clicked.

    Hey mrmagoo144
    I have always utilized I-frames to present music selections..
    My question is this...
    If I ftp my MP3 file then link to it with a button or whatever will a player control come up on the page?~?~?.. (or do I have to enter the appropriate html to have the player?)..
    And will your method make the page heavy..?~?~?
    Thanks ... Doug

  6. #6
    mrmagoo144's Avatar
    mrmagoo144 is offline Brigadier General
    Join Date
    Feb 2007
    Posts
    1,369

    Default Re: How to play a Music/audio, when a button is clicked.

    if i was using a mp3 file i would go the iframe method of naval's, but with a wav file i would go my direction and the loadtime is not a factor as each page would have one file. i would use some graphics to hide the wav file such as a slide show of the song or the singer.
    for the mp3 file the player coming up i believe would be your default media player. worth a try.

  7. #7
    dougnez's Avatar
    dougnez is offline Brigadier General
    Join Date
    Aug 2006
    Location
    Midwest USA
    Posts
    1,769

    Default Re: How to play a Music/audio, when a button is clicked.

    Hey Thanks magoo144,
    I know the I frames presentation works well.. and you can have control of the player set up... by placing this script "Before Tag'.. in the Media player HTML
    <embed src="yoursong.mp3"
    width="145" height="40" autostart="false" loop="FALSE">
    </embed>
    Cheers ... Doug



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49