Adding background music to my forum Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
4 posters

    Adding background music to my forum

    avatar
    Robin1966
    Forumember


    Posts : 29
    Reputation : 1
    Language : Enlgish

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

    Post by Robin1966 Tue Nov 18 2014, 18:33

    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
    Mati
    Mati
    Active Poster


    Posts : 1927
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

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

    Post by Mati Tue Nov 18 2014, 18:57

    Hello,

    You can put the code to the Homepage message
    rain shimatori
    rain shimatori
    New Member


    Male Posts : 15
    Reputation : 1
    Language : English

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

    Post by rain shimatori Thu Nov 20 2014, 05:09

    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.
    avatar
    Guest
    Guest


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

    Post by Guest Thu Nov 20 2014, 08:56

    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.
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

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

    Post by _Twisted_Mods_ Thu Nov 20 2014, 16:43

    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