Ambient sound changing for each pano

  • Hi,

    I'm using a combo to switch detween 3 panos.
    The first pano has no sound but each 2 others have a different sound .
    I can't make it run :

    any idea ?
    I have no sound at all !
    Where should the play sound be inserted ?

    thank's

  • Hi Ribouldingue,

    Try using keep="true" and preload="true" inside your soundinterface plugin:

    Code
    <plugin name="soundinterface"
    	url="%SWFPATH%/plugins/soundinterface.swf"
    	rootpath="%CURRENTXML%"
    	keep="true"
    	preload="true"/>
    • keep (NEW - Version 1.0.7 and higher)
      important flag for virtual tour or conntect panoramas!
      possibly values: true or false, default=false
      when keep is set to true the plugin/hotspot is kept when loading other panoramas, otherwise it will be removed
    • MERGE (1.0.7 an higher)

      • merges all settings from the current and the next pano
      • plugins / hotspots / lensflare without keep="true" are removed
      • if there are plugins and hotspots in the new panorama with the same name as the kept ones, the new ones are not loaded
      • this is the recommended setting for new virtual tours


    Also, the loops argument inside yours playsound() action is incorrect:

    • playsound(id, mp3file, loops*, oncomplete*);
      • plays a sound file
      • id = id/name of the sound (use "auto" for a automatic new id for every play)
      • mp3file = the filename/path of a sound file
      • loops = number of loops, 0=endless, default=1 (*optional)
      • oncomplete = action/event that will called on complete (*optional)

    SAlut.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!