Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

HTML to play mp3 songs


  • Please log in to reply

#1
bengaluru

bengaluru

    Member

  • Member
  • PipPipPip
  • 143 posts
Hello everyone

I have a dropdown list of about 10 mp3 songs and I want a HTML code that would play the song that the user picks.

I know I can use the <embed> object and point it to the src, but want to know how to use for multiple songs.

Thanks for your help.
  • 0

Advertisements


#2
Michael

Michael

    Retired Staff

  • Retired Staff
  • 1,869 posts
Hello

With out providing a link so I can see what you trying to do I can only recommend you have a look at http://www.geekstogo...ng-t139813.html

If you want to start the file when the use clicks on it you might have to use JavaScript and some preloading method.

Why not just offer them for download so the user can open them in their music player.
  • 0

#3
bengaluru

bengaluru

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 143 posts
Thanks Michael for your reply. I think I will go with your second option.

Have a wonderful Christmas and New Year.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP