Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      Re: How to play a Music/audio, when a button is clicked.

      Thanks for the info

      Nana.

      Comment


      • #4
        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.
        mrmagoo144
        www.videopostcards.info

        Comment


        • #5
          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

          Comment


          • #6
            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.
            mrmagoo144
            www.videopostcards.info

            Comment


            • #7
              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


              Comment

              Working...
              X