Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    3,843
    Tokens
    1,121

    Latest Awards:

    Default Background music on website..

    Im wanting to play a music file in the background of the webpage.

    This will only be played once, and I want it to autoplay with no option to turn it off.
    How would i do this?

    Ive looked for invisible mp3 players, and searched google but all the ones Ive tried fail to work...

    +rep
    Thanks in advance!

    EDIT: ISSUE RESOLVED!
    I used this generator for anyone else wondering the same.
    http://www.ricocheting.com/code/java...ckground-music
    Last edited by Sunny.; 27-08-2010 at 08:39 PM.

  2. #2
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    dont. worst thing to do on a site, ever.

  3. #3
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:

    Default

    get a windows media player, then make the size of it 0x0?

  4. #4
    Join Date
    Aug 2006
    Location
    United Kingdom
    Posts
    3,843
    Tokens
    1,121

    Latest Awards:

    Default

    Quote Originally Posted by kk. View Post
    dont. worst thing to do on a site, ever.
    I agree to some extent, however its only a few seconds long [radio jingle]

  5. #5
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:

    Default

    <object id="MediaPlayer" height=0 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
    <param name="filename" value="http://yourdomain.com/youraudio.mp3">
    <param name="Showcontrols" value="False">
    <param name="autoStart" value="True">
    <embed type="application/x-mplayer2" src=" http://yourdomain.com/youraudio.mp3" name="MediaPlayer"></embed>
    </object>
    Try that one
    Last edited by Jack!; 27-08-2010 at 08:45 PM.

  6. #6
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    Quote Originally Posted by kk. View Post
    dont. worst thing to do on a site, ever.
    this. worst thing to do on a site, ever.
    Last edited by Chippiewill; 28-08-2010 at 06:38 PM.
    Chippiewill.


  7. #7
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    Quote Originally Posted by Techie! View Post
    get a windows media player, then make the size of it 0x0?
    Thats what i'd do.

  8. #8
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    Quote Originally Posted by kk. View Post
    dont. worst thing to do on a site, ever.
    The only websites where I do like, or even expect to have background music, well a media player are websites of festivals, events, clubs & dj's.

  9. #9
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    Quote Originally Posted by [Oli] View Post
    The only websites where I do like, or even expect to have background music, well a media player are websites of festivals, events, clubs & dj's.
    you do expect that though really lol. not just an ordinary site which suddenly has a voice saying 'why buy from us? well, here's why!.. etc'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •