Add A Constant Background Sound.

I'm a bit of an amature when it comes to web design and especially hard coding.Im getting to grips with div tags and the css dialoge box. I able to embed a sound file on a page but would like to know how to embed a  background sound which keeps playing and doesnt restart every time you select a new page. Also any advice on how to add a sound on/off button option on each page would be appriciated.
Thanks

Continuously playing music/sound on HTML websites is not a simple thing to do.  You have the following options, each with their own set of problems.
OPTION #1 - Embed an MP3 player on a plain vanilla page. Invoke it to open in a Pop-Up window from a link on your home page.   The player will remain open while people explore other site pages or until they close the pop-up window or leave your site.  NOTE:  The user must initiate the pop-up page by clicking a link. If you attempt to open the pop-up automatically on page load, it will be defeated by pop-up blockers (98% of browsers).
OPTION #2 - Put your player into a frameset.  NOTE: Framed sites pose many other problems as detailed below.
http://apptools.com/rants/framesevil.php
OPTION #3 - Build your entire site with Flash.  NOTE: Flash sites are not SEO & user friendly. Also Flash isn't supported by all web devices.
OPTION #4 - Build your entire site on one very large page
EXAMPLE:  http://alt-web.com/TEST/ScrollTo.shtml
Depending on content, this could delay page load quite a bit.
OPTION #5 - Forget about continuous music/sound.  Simply embed a player on the first page and let people hear it once.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Flash with background sound (I got error #2037)

    Hallo.
    I am a beginner at AS3 programming. I like to make a flash with background sound (*.mp3 files from *.xml list). Everything works fine, but when I press "onClick" button I got output error.
    Error: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.
        at flash.media::Sound/_load()
        at flash.media::Sound/load()
        at proov_fla::MainTimeline/F_MP3_laadimine()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    My Script:
    var MP3_PLAYLIST:String = "playlist1.xml";
    var LAADI_MUUSIKA:URLRequest;
    var MUUSIKA:Sound = new Sound();
    var MUUSIKA_KANAL:SoundChannel = new SoundChannel();
    var HETKE_MUUSIKA:Sound = MUUSIKA;
    var POSITSIOON:Number;
    var HETKE_INDEX:Number = 0;
    var KAS_MUUSIKA_MÄNGIB:Boolean = true;
    var XML_FAIL:XML;
    var MUUSIKA_NIMEKIRI:XMLList;
    var MP3_LAADIJA:URLLoader = new URLLoader();
    MP3_LAADIJA.addEventListener(Event.COMPLETE, F_MP3_laadimine);
    MP3_LAADIJA.load(new URLRequest(MP3_PLAYLIST));
    onClick.addEventListener(MouseEvent.CLICK, järgminelugu);
    function järgminelugu(e:MouseEvent):void
        MP3_PLAYLIST = "playlist2.xml";
        MP3_LAADIJA.load(new URLRequest(MP3_PLAYLIST));
    function F_MP3_laadimine(e:Event):void
        XML_FAIL = new XML(e.target.data);
        MUUSIKA_NIMEKIRI = XML_FAIL.track;
        LAADI_MUUSIKA = new URLRequest(MUUSIKA_NIMEKIRI[0].path);
        MUUSIKA.load(LAADI_MUUSIKA);
        MUUSIKA_KANAL = MUUSIKA.play();
    My full purpose will look like this http://uusrand.pri.ee/galerii/proov/

    Hallo.
    Can anybody help me to add an actionscript line(s) into attach file "newXML.fla".
    In this file I have a script to play mp3 files from xml list (this works).
    I also add button to load new mp3 fileslist from new xml file. But I don't know how.
    My Script:
    var MP3playlist:String = "http://uusrand.pri.ee/mp3/playlist.xml";
    var MP3file:URLRequest;
    var MP3SoundURL:Sound = new Sound();
    var MP3sound_channel:SoundChannel = new SoundChannel();
    var xml:XML;
    var playlist_index:XMLList;
    var xml_loader:URLLoader = new URLLoader();
    var MP3index:Number = 0;
    xml_loader.addEventListener(Event.COMPLETE, originalXMLfile);
    xml_loader.load(new URLRequest(MP3playlist));
    onClick.addEventListener(MouseEvent.CLICK, nextXMLfile);
    function nextXMLfile(e:MouseEvent):void
        if (MP3playlist == "http://uusrand.pri.ee/mp3/playlist_loodus.xml") {
            MP3playlist = "http://uusrand.pri.ee/mp3/playlist.xml";
        } else {
            MP3playlist = "http://uusrand.pri.ee/mp3/playlist_loodus.xml";
    function originalXMLfile(e:Event):void
        xml = new XML(xml_loader.data);
        playlist_index = xml.track;
        MP3file = new URLRequest(playlist_index[0].path);
        MP3SoundURL.load(MP3file);
        MP3sound_channel = MP3SoundURL.play();
        MP3sound_channel.addEventListener(Event.SOUND_COMPLETE, nextSong);
    function nextSong(e:Event):void
        if (MP3index < (playlist_index.length() - 1)){
            MP3index++;
        } else {
            MP3index = 0;
        var NextSongRequest:URLRequest = new URLRequest(playlist_index[MP3index].path);
        var NextSongURL:Sound = new Sound(NextSongRequest);
        MP3sound_channel.stop();
        MP3sound_channel = NextSongURL.play();
        MP3sound_channel.addEventListener(Event.SOUND_COMPLETE, nextSong);

  • ITrip w/ dock connector giving constant background hiss/static

    i know there really isn't a forum for 3rd party gear but i thought some of you may able to help me out.
    i am using a 5th gen ipod. for car audio solutions: i started with the griffin roadtrip apparatus.. it was clunky and the sheer weight of the ipod caused a real finicky electrical connection resulting in the thing cutting out every time i hit a bump. so anyway i returned it and got a griffin itrip (with dock connector) and a powerjolt cigarette lighter adapter. the form factor is way better than the roadtrip but the thing has a constant background hiss... is this normal of these?? i mean it is subtle but it definitely doesn't give crystal clear sound... the roadtrip on the other hand did give a much cleaner signal. anyway now i am thinking of returning these two items (the power adapter and the itrip) and getting the new "itrip auto". but before i do this, does anyone know if it broadcasts as clean as the roadtrip or better yet does anyone have a work around for the static problem of my current setup? ideally i want the form factor of the itrip and the cleanliness of the roadtrip's signal.
    this is such a pain!

    does anyone have a solution to offer? i have 8 days left to return the itrip!

  • Trying to make or receive a phone call and there is constant background buzzing noise?

    Trying to make or receive a call and there is constant buzzing sound in background.
    I reset the phone.
    I updated network setting on Verizon.
    I can play music with no trouble.
    Speaker mode works on phone.

    Did you use the latest backup after setting it up "as new device"? If yes, try again, this time without using the backup, maybe it contains damaged data causing your problem.
    If this does not bring any change, you should get it serviced.

  • Synchronous background sound

    hello,
    if i add a background sound to a captivate movie, i have the
    following problem:
    while playing, stoping and resuming the movie, the background
    sound has the correct behaviour. but if i skip the movie by the
    slider the sound doesn't skip. is there an option to synchronize
    the background sound with the "timeline"? (not the timeline of a
    single slide)
    are there any other possible workarounds? in fact, the sound
    sample i would like to use is a single file with speech comments. i
    tried to chop the sound file, but this will not work for my
    purposes.
    i appreciate any suggestions

    Hi c_power and welcome to our community
    You are misunderstanding the use of the background sound
    feature. It was never intended to be used as a long continuous
    narration track. Instead, it is intended to place a nice soft audio
    clip that doesn't overwhelm narration.
    Narration is intended to be placed on the slides and in
    objects. I'd try opening slide one, then pressing the F6 key to
    import the clip. Once you do this, you should see a dialog that
    allows you to choose how to deal with the audio. Assuming the movie
    is complete and the timings are all set as desired, choose the
    bottom option labeled: Retain current timing and distribute this
    file over several slides.
    Hopefully this helps... Rick

  • Adding background sound

    I am user of N-73(Music Edition).
    I want to add background sound, as I am in the railway station or classroom or etc., when I answer or call a phone call.
    Is there any softwares to do so?

    Whom are you wanting to cheat your boss or your wife . Google and you will find sites that meeds your needs.
    If my post has helped you please click the white star on the right

  • When I am connected with Firefox I am hearing a background sound of a door opening and closing.

    Starting about one month ago I have been hearing a background sound of a door opening or closing. When opening, it is the sound of a latch turning and then a creaking door sound, and when closing it is the sound of a slamming latch.It is intermittent, ocurring every 5-10 minutes or so when connected with Firefox. There is no apparent problem associated with sounds, I'm just wondering why it's happening and what it might mean.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • How can I remove the background sound from the headphone jack for my MacBoo

    for my MacBook Air problem adding music intensifier (Panasonic ST-HT1000) to give it an unpleasant sound background that sounds like a whiz, it's not so loud, but it is an unpleasant .. after a short time can get used to, but the fizz does not pass, however, believe that it is a big problem.
    Further I notice that when MacBookAir disconnected from the charger, it remains quieter sound.
    At first thought that the headphone jack (3.5 mm Headphone:
    Connection: 1/8-Inch Jack) or wiere have problem, but tried 3 different cables, but that does change enything, the problem remains.
    When I added iPhonu3GS playing - the background sound were not, then everything is OK!
    How can I remove the background sound from the headphone jack for my MacBook Air 13?

    There is no way to bring that up unless you have it typed in a document. You can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
    http://support.apple.com/kb/HT2526?viewlocale=en_US 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD  240G Vertex 3 SSD Boot HD 

  • How can I add a new background to existing photo?

    Hi folks!
    I got Adobe elemets 8 new and I was trying the whole day now to add a new background to an existing photo.
    There is one main photo showing a face of a man and I would like to cut that face out and plant it into another photo to use the background !
    OR leave the face as is  and upload a new photo to set it as a background.
    However I cannot find an upload function at all.
    Hope it makes sense what I am trying to describe here.
    Also - any answers in german language would be awesome (OR if english: please keep it simple). 
    Thanks a lot!!!
    Angi

    I hope this video will be able to help you:
    http://www.youtube.com/watch?v=4XGKbIaqcRQ
    This is just a basic example. If you have any specific query, please post again, and I am sure there are many experts around here, who will help you.
    Regards,
    Ankush

  • Background Sound Won't Play

    Hi all --
    Looking to attach a background sound and play it using
    ActionScript. However, it's not working. I'm trying to link it up
    to a button called "soundButton" that toggles the audio. I have the
    wav file in my library, have exported it for ActionScript, and
    given it a linkage ID of "music."
    Also, if I trace after a button click, my "soundPlaying"
    value is always "false." Any ideas?
    See attached code below...any help is greatly
    appreciated!

    bg_sound is undefined: use bg_sound or my_sound.

  • Newbie question: Why is "learn sound model" greyed out when trying to remove background sounds in a file using the Spectral Frequency display?

    I am trying to remove background sounds in a file using the Spectral Frequency display. The first edit on a new file, this process works fine:
    1. use brush to cover sound
    2. right click, learn sound model
    3. effects/noise-reduction-restoration/Sound Remover
    The next time I try to remove another sound in the file, "learn sound model" is greyed out. I have to close the file and reopen to be able to make another edit. What on earth is going on? Can it only learn one sound model or something?
    I'm a newbie, so thanks in advance for your advice!

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • How do I add a constant into a DAQMX Graph

    Using the example VI "Continious Acquisition Thermocouple Samples Internal Clock" in DAQMX Base how do I add a constant onto the waveform chart that is displaying the thermocouple reading ? What I really want are upper and lower limit constants that are displayed on the graph.
    Thanks

    Assuming that you're getting an array of waveform data types back from the DAQ board, you just have to append a couple of waveforms with the same number of samples and a fixed value. I modified an example that uses DAQmx but I think the DAQmx base example should be similar. Change the constants to the upper and lower levels that you want or replace the constants with front panel controls.
    Attachments:
    Add constants.JPG ‏35 KB

  • What is the best method to embed background sound?

    I've tried several methods and they either simply do not work or a plugin icon is displayed...I just want to embed it invisibly , and of course effectively.

    Hi Mike,
    most of the people here in the forum will advise against background sound. If you can't resist, there I tried one possibility (see code):
    http://www.goldschmiede-blumberg.de/AdobTest/musik.php
    In any case you should to ensure that your visitors can switch off your music. That's way I recommend that one/you can see the tape recorder.Hans-G.

  • JMF background sound question

    Hi,
    Does someone know, how to do background sound in an application by means of JMF, or how to do it without jmf ?.
    Thanks in advance.
    MSasha

    email me at this address
    [email protected]
    i will do background sound transmission
    i develope a multitier ip voice communication

  • Background sound play goes stop when click the power button on ios.

    On AIR 3.9 the background task execution issue has been solved but when we click the power button on ios devices the background sound play goes stop until we unlock the device.
    So Dear Adobe Please fix this issue .

    This is a known issue and we are investigating this. Thanks for reporting.
    Regards,
    Nimit

Maybe you are looking for

  • Sql tuning set explain plan

    A hypothetical question came up between dbas in the office.   We regularly take tuning sets before making significant changes on the DB.  Populate from cache.  Great little way of checking to see if anything changed.  Someone asked if a table T1 was

  • Nested table in an ALV

    Hello All, I have a table which has another table as a column in it. i.e I have a nested table. I want to display a nested table in an ALV using the FM "REUSE_ALV_GRID_DISPLAY". Please help me how to achieve this. thanks, Anju

  • Failed to open GPIB....error message!

        Hello, looking for help/advice regarding the above error message we just started receiving. We have a Mitutoyo CMM feeding a Mitutoyo MAG-3 which is plugged into the NI-488.2 GPIB inside a Dell PC with XP platform.   Yesterday we fired up the uni

  • PE11 and burning to a DVD+R disc

    Hi, I am so lost. I have video and slideshows that I would like to burn to DVD's for Christmas presents. I seem to be unable to burn more than one MPEG video or MPEG slideshow to the DVD. I have reasearched the forum until I'm blue in the face. I hav

  • Utilisatio​n NI USB-6356 sur un banc moteur

    Bonjour, Je souhaite utiliser une carte NI USB-6356 sur un banc moteur pour récupérer 3 I 3 U et couple - vitesse. Je souhaite fonctionner par tâches mais je n'arrive pas à synchroniser mes 8 voies, quelqu'un pourrait-il m'aider? Merci d'avance. Cord