September 1, 200917 yr OK, so this is a banal question.. an I'm a lil' embarassed to ask, but... how exactly you add a background sound to the website? I found one JavaScript that works both on IE and Firefox (and I need to have it working on as many browsers as possible), however seems like it supports only .mid files. Is having a .mid sound totally essential? I'd prefer MP3s, is there any script that supports that?
September 1, 200917 yr Author Any Flash player will play audio for you http://www.longtailvideo.com/ maybe? Is the player hidden?
September 1, 200917 yr Is the player hidden? You could hide it you really wanted to but that's not advisable as dangreaves92 said - how will people be able to turn the audio off if they didn't want to listen to it?
September 2, 200917 yr Why would you even want to have music on your site. Autoplay is not advisable it can get people in trouble if they are viewing your site in a quiet place and accidently have their sound on.
September 2, 200917 yr Author I know about all that, but it's the client that wants to have it. So can someone direct me to some script or...?
September 2, 200917 yr Quick reply- Get yourself a copy of Swish or Flash, Create a blank scene Import your music. create script at frame 1 to play the imported soundclip Save Export SWF and embed into html within an appropriate div or Create a blank scene, add two buttons (sound on/off) Import your music. create two events in action script to handle play start and play stop Save Export SWF and embed into html within an appropriate div Done.
September 2, 200917 yr You could just use a flash player such as long tail video, set it to autplay and place it into a div with display:none.
September 2, 200917 yr Author You could just use a flash player such as long tail video, set it to autplay and place it into a div with display:none. You mean longtailvideo.com? I headed there, but there seem to be players only for video not MP3s? Am I supposed to use this: http://www.longtailvideo.com/players/jw-wmv-player/?
September 2, 200917 yr There are two JW players... JW FLV supports MP3 audio and FLV video JW WMV supports WMA audio and WMV video The FLV version has many more features than the WMV version. take your pick! http://www.longtailvideo.com/players/
Create an account or sign in to comment