Board index PBase HTML and Style Sheets music with .mp3

HTML and Style Sheets

music with .mp3

Customize your galleries.
Posts: 1

music with .mp3

Post Wed Jul 22, 2009 6:12 pm

I used to have an HTML tag in the user description that looked like this:

<EMBED SRC="" 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
Company: Weblocal Hospedagem

Posts: 25

Re: music with .mp3

Post Sun Oct 11, 2009 8:03 pm

Try this

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

Posts: 1

Re: music with .mp3

Post Tue Oct 20, 2009 8:55 pm

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.


<bgsound src="">

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?

Posts: 585

Re: music with .mp3

Post Wed Oct 21, 2009 4:49 pm

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.


"Arguments are to be avoided; they are always vulgar and often convincing."
~Oscar Wilde~

Board index PBase HTML and Style Sheets music with .mp3

Who is online

Users browsing this forum: No registered users and 2 guests