Problem with background sound

  • Hello everyone,

    i have a bit of a problem with the ambient sound in the tour I'm currently creating.

    I wrote the following code to start the background music with the first scene:

    <action name="startup" autorun="onstart"> if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); loadscene(get(startscene), null, MERGE); if(startactions !== null, startactions() );playsound(bgsnd, sounds/creepy.mp3, 0); </action>

    Unfortunately this doesn't work the way I thought it would.

    The sound only starts with the first click in the panorama and not from the beginning.

    If the first click happens to be on the “sound off” button, you can no longer stop the music.

    What am I doing wrong? Here is the link to the tour so you can see what I mean:

    krpano - Bloodline_13

Participate now!

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