Strange problem with sound and virtual tours

  • Hello,
    I want to make tours where each pano xml files are in different directory, but the names of files remain same.
    For each pano with sound I put in its directory file named sound.mp3. But when I click to play sound for one pano and load another pano and click to play the new sound it loads sound.mp3 from the first, but not the current directory. If I name it different, for example sound2.mp3, it loads from the current directory and everything is OK.

    Here is an example:
    http://bg360.net/pano/sofia/test.php

    pano1 http://bg360.net/pano/sofia/protest/pano.xml
    pano2 http://bg360.net/pano/sofia/pope/pano.xml
    pano3 http://bg360.net/pano/sofia/pope/pano2.xml

    pano1 - playsound(protest, sound.mp3, 0)

    pano2 - playsound(pope, sound.mp3, 0)

    pano3 - playsound(pope2, sound2.mp3, 0)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!