Hello,
I have set the onclick of a plugin to pausesound(s1);, and for another plugin, it is resumesound(s1);. I have started the music with this
playsound(s1, sound1.mp3, 1); Nothing happens when i click those plugins; audio plays on, no errors.
To put it simply, pausesound is not working. I cannot say anything about resumesound because pausesound is not functional. I have also checked that pausesoundtoggle too isn't working.
Here is the xml that i am using
Code
<action name="onstart">
loadscene(sc_10, null, MERGE);
playsound(s1, sound1.mp3, 1);
</action>
<plugin name="pi_sound_on" url="http://localhost/vtours/seth/assets/sound-on.png"
align="leftbottom" x="80" y="5" width="32" height="32" keep="true"
onclick="resumesound(s1);"
/>
<plugin name="pi_show" url="http://localhost/vtours/seth/assets/sound-off.png"
align="leftbottom" x="130" y="5" width="32" height="32" keep="true"
onclick="pausesound(s1);"
/>
<plugin name="soundinterface" url="http://localhost/vtours/seth/plugins/soundinterface.swf"
rootpath="http://localhost/vtours/seth/panos/hotel3/" keep="true"
preload="true"
/>
Alles anzeigen
I am using the plugin that comes with krpano-1.0.8-beta8-2009-12-16 . I am on windows xp. Checked on firefox, chrome and ie.
stopsound and playsound are working as expected.
Any help would be appreciated.
Thank you.