The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Adding background music to my forum

4 posters

Go down

Adding background music to my forum Empty Adding background music to my forum

Post by Robin1966 November 18th 2014, 5:33 pm

Hi, I've seen a section in tips and tricks on how to add background music to a forum, but I don't quite understand where I should put the code and how I get the embed code for the particular mp3 I want to insert as the background tune.

Could someone please explain as I think it would make quite a nice touch to the forum.

Cheers
avatar
Robin1966
Forumember

Posts : 31
Reputation : 1
Language : Enlgish

http://kskreenactmentgroup.forumotion.co.uk

Back to top Go down

Adding background music to my forum Empty Re: Adding background music to my forum

Post by Mati November 18th 2014, 5:57 pm

Hello,

You can put the code to the Homepage message
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Adding background music to my forum Empty Re: Adding background music to my forum

Post by rain shimatori November 20th 2014, 4:09 am

I added some music to my homepage but it's from Youtube. Is there a way I could make it smaller? I don't need to see the full size of the whole thing.
rain shimatori
rain shimatori
New Member

Male Posts : 15
Reputation : 1
Language : English

http://TrueEden.forumotion.net

Back to top Go down

Adding background music to my forum Empty Re: Adding background music to my forum

Post by Guest November 20th 2014, 7:56 am

I created a widget for that and made it available for guests only. Here's the code for YT:

Code:


<div id="ForumIntroMusic_by_Samantha" style="width:1px;height:1px;overflow:hidden;">
   
    <object class="mp4downloader_tagChecked " style="width: 300px;
height: 300px;"><param id="allowscriptaccess" value="always"
/><embed style="width: 300px; height: 300px;"
src="http://www.youtube.com/v/IboXhKsDVik?autoplay=1&loop=0"
type="application/x-shockwave-flash" allowscriptaccess="always"
/></object>
</div>



or you could make a widget like this:


Code:
<div id="SiteIntroMusic_by_Samantha" style="width:187px;height:25px;overflow:hidden;z-index1">
    <object style="width: 159px; height: 25px;"><param id="movie" value="http://www.youtube.com/v/IboXhKsDVik?version=2&color1=0x0066FF&color2=0x0066FF&border=0&autoplay=0&loop=0&hd=0" /><param id="allowscriptaccess" value="always" /><embed style="width: 159px; height: 25px;" src="http://www.youtube.com/v/IboXhKsDVik?version=2&color1=0x0066FF&color2=0x0066FF&border=0&autoplay=0&loop=0&hd=0" type="application/x-shockwave-flash" allowscriptaccess="always" /></object>
</div>


Here's for HTML:

Code:
</script><audio style="" controls="" autoplay="" loop="" hidden="true"><source src="http://mariomedia.net/music/Nintendo%2064/Banjo-Kazooie/129%20-%20Click%20Clock%20Wood%20%28Spring%29.mp3" type="audio/mpeg" /></audio>

Of course, this data needs to be altered for it's straight of my website. Maybe Ange can help you with that, if needed.
avatar
Guest
Guest


Back to top Go down

Adding background music to my forum Empty Re: Adding background music to my forum

Post by _Twisted_Mods_ November 20th 2014, 3:43 pm

simple way

use this



   
Code:
<embed width="100px" height="100px"
    src="url-link-to-video?autoplay=1">
    </embed>



replace url-link-to-video with the link to your video

?autoplay=1   < remove this if you dont want the video to auto play
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum