Page 1 of 1

music with .mp3

PostPosted: Wed Jul 22, 2009 6:12 pm
by from_brasil
I used to have an HTML tag in the user description that looked like this:

<EMBED SRC="http://mp3.mywebsite.com/demo.mp3" height="50" width="240" HIDDEN="false" AUTOSTART="true" LOOP="true">

This would "play" the file demo.mp3

But now this tag does not seem to work. What is the correct/revised format for what I want to do?


Felipe Medeiros
-------------------------
Name: Felipe Medeiros
Status: Analyst JR
E-mail: felipe.medeiros@weblocal.com.br
Company: Weblocal Hospedagem
Hobby:AdWords

Re: music with .mp3

PostPosted: Sun Oct 11, 2009 8:03 pm
by kadir
Try this

<bgsound src="http://yourmusicurl/music.mp3" loop="-1">

Re: music with .mp3

PostPosted: Tue Oct 20, 2009 8:55 pm
by james987p
Does playing background music work?

I'm tried embedding sound both ways by putting this line in the description of a gallery, and it doesn't work for me.

Sample:

<bgsound src="http://www.htmlcodetutorial.com/sounds/helloo.wav">

Please let me know what I'm doing wrong... Thanks!

**** Update Oct 20, 2009 ****
OK, turns out that this does work, but only if using IE to view the webpage. It doesn't work with Firefox (latest version). Doing some research says that BGSOUND is micrsoft proprietary, so we should use <embed>.... but that doesn't work anymore, right? Anyway around this problem, so that music plays with Firefox as well?

Re: music with .mp3

PostPosted: Wed Oct 21, 2009 4:49 pm
by mardoli
As far as I know you can use <embed>.... and it works in both IE and FireFox, but only for single photos,
not for an entire gallery.

I don’t know why...

If you add the line of command in a photo caption space it works, but if you do it in the gallery description it doesn’t.

But it can work only for IE users and using <bgsound>,
I mean it works also in the thumbnail page of a gallery, not only for single photos.
I hope it can help.

Best

Marisa