Hi,
using - preload="true" - AND - onloaded=".." - is not possible!
See here:
http://krpano.com/docu/xml/#plugin.preload
When preload="true" is used then the plugin will be loaded before the viewer itself starts and at this time executing action like in onloaded event is not possible. But therefore you can use the soundinterface actions already in the onstart or other events in this case.
So the solutions will be:
- either use an other event to call the playsound() action start the sound (e.g. onstart)
- or remove the preload="true"
Btw - to include the soundinterface plugin correctly for Flash and HTML5 use:
|
Source code
|
1
2
3
4
5
|
<plugin name="soundinterface"
url="soundinterface.swf"
alturl="soundinterface.js"
...
/>
|
Best regards,
Klaus