Forum Moderators: mack

Message Too Old, No Replies

How to add MP3 Music on the website?

         

new936

6:24 pm on Apr 26, 2007 (gmt 0)

10+ Year Member



How can I put the music in mp3 or any other format on my website?

The_Hat

7:54 pm on Apr 27, 2007 (gmt 0)

10+ Year Member



Working through some unanswered post and came across your post..

There are easy ways to embed media into the pages..

First off if you are planning to do it in a way that the music will play when a surfer goes to your site, please please don't do it. It is most often just a plane old bad idea to do. Most people are listening to music (if their at home) and when yours come on as well they have a musical mess.. or they are at a quite work place and don't want to have that sudden unexpected music play and announce to the rest of the office that they are surfin the web instead of working.. Not good..

That said..

Doing a google search for "embed mp3 into web page" should turn up code that you could use.

SteveWh

10:53 pm on Apr 27, 2007 (gmt 0)

10+ Year Member



This should give you a good start. If you need more, do a web search on some relevant search terms. [spartanicus.utvinternet.ie...]

Template code:

To stream:
<a title="Stream this clip." href="name.m3u" type="audio/x-mpegurl">Descriptive text</a>

To download:
<a title="Download MP3 " href="name.mp3" type="audio/mpeg">Descriptive text</a>

[edited by: SteveWh at 11:07 pm (utc) on April 27, 2007]

lexipixel

8:47 pm on Apr 29, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



While there are many ways, most will launch either Microsoft Media Player, Quicktime or Real Player, (depending on the end user's configuration).

My goals were:

- NOT have the browser launch another application
- NOT take the user off the page (or block the page)
- NOT have the audio start unless the user intitiated it.
- ALLOW the user to stop, rewind clip, or adjust volume

I recently ran across a nice little utility to make adding audio files to a page: search for "wimpy player"... and more specifically the "wimpy button". It works great.