Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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