Hi ,
I encountered a problem in my project, I set the tour.xml file, add the background music function, here I set up two places,
1 is the introduction of plugins,
Code
<plugin name="soundinterface"url="%SWFPATH%/plugins/soundinterface.swf"alturl="%SWFPATH%/plugins/soundinterface.js"rootpath=""preload="true"keep="true"/>
2 set to startup.
Code
<action name="startup" autorun="onstart">if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); ); loadscene(get(startscene), null, MERGE);playsound(bgsnd, 'sound/xxxxx.mp3', 0);
The problem is that I was able to play MP3 in the local server test, but in my online web server, it will prompt the following error.(other normal displays)
Code
INFO: krpano 1.19-pr5 (build 2016-05-24)INFO: HTML5/Desktop - Chrome 50.0 - WebGL INFO: Registered to: xxxxx ERROR: soundinterface - loading of sound/xxxxx.mp3 failed!
So ask for help and advice. THS !