View Full Version : Playing an audio file on page load (not looped)

07-09-2006, 06:26 PM

I'm having a few problems, I need a small audio file to play as soon as a home page loads, (but only plays once), but havnt got a clue where to even begin!

I've seen some sites with little media player type bars at the top.

any info greatly appreciated


07-10-2006, 08:53 AM
The best way is to wrap your audio file in a flash file.

However, unless this audio file is extremely important to your site, don't put audio or music files on your site to load automatically.

Give your users the option to play the file or not instead.


07-11-2006, 09:20 AM
hmm.. so wat type of audio is it... like just a welcome message or something....
what is ur target audience aswel?
i have one of my sites open a popup window using the body onload(); tag that contains a flash mp3 player talking to a xml playlist.
not what ur really after i guess thou.

you can try and opt for a whole site built in flash that has audio
i just finished this one for work