MyBB Community Forums

Full Version: Added background music to my forum, but it'll only play in IE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I added background music to my forum and it seems to only play in IE. Here's the code I used:

<bgsound src="http://videogameempire.net/Audio/O_Fortuna.mp3">
Is there a way to make the music play in other browsers?
<embed src="http://videogameempire.net/Audio/O_Fortuna.mp3" autostart="true" loop="false">
EDIT: Good choice of music Toungue
hey

<embed src="yourmusicfile.mp3" autostart="true" loop="true" 
width="2" height="0"> 
</embed> 
<noembed> 
<bgsound src="yourmusicfile.mp3" loop="infinite"> 
</noembed> 

use this it's compatible with all versions of IE, Netscape and Opera.

the one provided above workds for IE, Netscape.

and i dont think any will work for FF. not sure

regards
Nice, what i need to edit to listen song on all pages?
Quote:Nice, what i need to edit to listen song on all pages?

u have to put the code in the header template! and make sure to put the URL of ur uploaded music file.

regards
Okay. Thanks! And yes, my "boss" has an awesome choice in music! Toungue

It works great! Another question. I just want the music to play on the main page and not on every page. I tried putting the code in the header and index templates. In the header, the music player doesn't show up on the main page, so that was good. However, the music played on every page. When I stuck the code on the Index template, a Quicktime music player appeared on the top of my forum and pushed everything down. How do I correct this?