Hello Everyone,
I never tried adding sound to the virtual tours, so it is my first time. And I need your help.
My virtual tours are generated automatically by the make vtour tool.
I tried adding this code
Code
<!-- load the soundinterface plugin --> <plugin name="soundinterface" url="http://at-bangkok.com/virtualtours/snc/plugins/soundinterface.swf" alturl="http://at-bangkok.com/virtualtours/snc/plugins/soundinterface.js" rootpath="" preload="true" keep="true" />
<!-- start playing the sound --> <events name="currentpano" onnewpano="playsound(bgsnd, 'http://at-bangkok.com/virtualtours/snc/1.MP3|http://at-bangkok.com/virtualtours/snc/1.wav', 0);" onremovepano="stopsound(bgsnd);" />
<!-- button to pause the sound: --> <plugin name="snd" url="http://at-bangkok.com/virtualtours/snc/soundonoff.png" align="topleft" x="10" y="10" alpha="0.25" scale="0.5" onover="tween(alpha,1);" onout="tween(alpha,0.25);" crop="0|0|50|50" onloaded="if(ismobile,set(scale,1));" onclick="pausesoundtoggle(bgsnd); switch(crop, 0|0|50|50, 0|50|50|50);" />
to the both tour.xml and vtourskin.xml but it don't work. The soundonoff.png doesn't even show.
Please let me know what I did wrong. the vtour link is http://at-bangkok.com/virtualtours/snc/
Any input would be appreciated. Thank you!
Best regards
VAsin