Jump to content

Adding an MP3 to a web-page ?


smallhagrid

Recommended Posts

smallhagrid

I'm helping a friend with his site and he has an MP3 he posts on a page of it.

It was using a cute little flash-based, embedded player from some site that offered it for free and that site died...so he needs another one to replace it.

We've tried a few and they're either very complicated or just don't work at all.

Would anyone here have some suggestions as to a simple/easy/good way to get this done ??

Thanks.

Link to comment
Share on other sites


  • Replies 7
  • Views 934
  • Created
  • Last Reply

You can you html5 audio tag like this:

<!DOCTYPE html><html><body><audio controls>  <source src="my.mp3" type="audio/mpeg">  </audio></body></html>

:)

Link to comment
Share on other sites


  • Administrator

I'll personally go with HTML5. :)

Link to comment
Share on other sites


smallhagrid

Great replies folks, thanks.

Not everyone yet uses HTML5, so Dewplayer it is - a perfect solution excluding nobody and using only files hosted on the site.

Thanks especially to Sharelol !!!

Link to comment
Share on other sites


user_hidden

I used this a while back when I added an mp3 to my website

<embed src="youraudiofile.mp3" autostart="true" loop="true" width="2" height="0">
Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...