Click to See Complete Forum and Search --> : Mp3 in a webpage?...


Znupi
03-30-2007, 05:10 AM
What's the best way to play an MP3 in a webpage?... (probably some <object> and stuff but I really have no idea how these work... if you could point me in the right direction, please? :))

LeeU
03-30-2007, 09:38 AM
Are you looking for a player or just something the visitor clicks on? If just to click on, just use a link:
{CODE]
<a href="theFile.mp3">Listen to this song!</a>[/CODE]

Znupi
03-30-2007, 11:50 AM
Something like a background sound... that plays while the user is viewing the page.

Znupi
03-30-2007, 01:45 PM
No one? :(

wasswifey
03-30-2007, 05:57 PM
<bgsound src="url" balance="value" loop"value" volume="value"/>

Znupi
03-30-2007, 07:43 PM
wasswifey, that only works in IE...

jogol
04-02-2007, 07:12 PM
take a look at the flash player by jeroenwijering.com (http://jeroenwijering.com/?item=Flash_MP3_Player) or the XSPF Web Music Player (http://musicplayer.sourceforge.net/).

a hidden background sound sucks cause i (and i´m not the only one disturbed by this) immediately hit the mute button if i stumble across a site with autoplay music. if i dont find the mute button within 2 secs i´m gone.

so better use a visible player like the ones above. :)

Znupi
04-03-2007, 01:06 PM
That won't do :(. I'm making a Google Gadget in the form of an alarm clock. I already made it and it is widely used (it's the first result on an "alarm clock" search and the 9th on an "clock" search) but it uses midi's to ring, simply embeded like <embed src="..."> and that's not very standard-compliant...