Where exactly to play a background music html code

Divinum Fiat

Well-known member
The instruction say:
copy and paste the following code immediately under the beginning of the <body> tag (i.e. on top of webpage content)

I'm in Admin/Styles/Default Style but I can't quite figure out where to find the 'top of the web page content' and this <body> tag.

Can anyone help please?

Happy New Year!
 
Hi Brogen, it worked, thank you, although it did something funny with the website. So this may not be a good solution. Alternatively can I put a code staring with <iframe... in the default template?

I had placed it in an html box on the right side bar with the <iframe code in it and it worked but from there the music will stop as soon as someone leaves the page.
 
The only thing I can even think of to do is to create an option to popout the player standalone to a new window on click of a button you would have to make and place somewhere on your forum for those who like the ambiance. If they want the music to persist they can click, popout the player...minimize that window and go back to browsing without having the music interrupted on navigation to another page.

Besides that...there really is no simple way to accomplish what you are trying to accomplish. The above is very possible, you would just need some basic html css and possibly some js. It is an idea...a last chance no other choice idea...alas an idea though. At any rate I hope you come up with something that works for you.
 
Very sweet of you, EQnoble. That might be an option although I'm using podsnack right now (iframe) and if I get the upgraded account I can have the player in html format, which I think I should be able to put in the template to play as background music, if they so choose. An alternative is to tell people to play the music and simply open a second window to browse the website. A bit tedious and unprofessional though.

If I come up with a perfect solution I'll post it here. :-)

Thank you! :notworthy:
 
Or the ugly way. Build an startpage with a 0% Frame on to pwith the player, and load the forum in the 100% frame. But this is really ugly, and if someone uses a permalink, the frame is still not there.

But... Background Music? think about it, if you really need it.
 
any attempt to minimise the visibility of the frame will result in a lack of audio controls, meaning people wont be able to stop the music.
frames are bad enough, but embedded music... it takes me back to geocities circa 1997.
i reckon you should rethink the music idea. it likely annoys 98% of your potential members.
 
I did it like this in page_container but it dosent work what am i doing wrong?

Code:
</div>
<embed name="lostmojo"
src="/northland-gaming.com/public_html/br.mp3"
loop="false"
hidden="true"
autostart="true">
</embed>
 
I think this could work, but i don't know your structure. But public_html should not be a part of that. It's a client action, and this don't know your server path.
src="/br.mp3"
 
I would appreciate som help here how exactly can i have background music on my forum_page what code and what link should i use?

I don't know of any good or easy way to add music to a web page. A regular embed has the problem of the music restarting on each page load. A frameset would work, but frames are crappy. Other more advanced solutions using AJAX and flash can't be implemented without reengineering the whole site.
 
Top Bottom