PDA

View Full Version : Background music on website..



Sunny.
27-08-2010, 08:34 PM
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/javascript/html-generator/background-music

kk.
27-08-2010, 08:40 PM
dont. worst thing to do on a site, ever.

Jack!
27-08-2010, 08:40 PM
get a windows media player, then make the size of it 0x0?

Sunny.
27-08-2010, 08:42 PM
dont. worst thing to do on a site, ever.

I agree to some extent, however its only a few seconds long [radio jingle]

Jack!
27-08-2010, 08:44 PM
<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

Chippiewill
28-08-2010, 06:37 PM
dont. worst thing to do on a site, ever.
this. worst thing to do on a site, ever.

GoldenMerc
01-09-2010, 06:58 AM
get a windows media player, then make the size of it 0x0?
Thats what i'd do.

[Oli]
01-09-2010, 10:22 PM
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.

kk.
01-09-2010, 10:26 PM
;6715959']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'

Want to hide these adverts? Register an account for free!