Hi !
I've read lot of topic on this forum and my plugin doesn't work... always !
I've try this syntax :
Code
<krpano version="1.0.8.15" title="Sanary sous les Etoiles - 2012" onstart="startup();playsound('ambient', 'ete_song_2012.mp3', loops='0')">
with :
Code
<plugin name="soundinterface"
url="%SWFPATH%/plugins/soundinterface.swf"
alturl="%SWFPATH%/plugins/soundinterface.js"
rootpath="%CURRENTXML%"
/>
i've no sound !
i try this :
Code
<plugin name="soundinterface"
url="%SWFPATH%/plugins/soundinterface.swf"
alturl="%SWFPATH%/plugins/soundinterface.js"
rootpath="%CURRENTXML%"
onloaded="playsound(bgsnd, 'ete_song_2012.mp3|ete_song_2012.ogg', 0);"/>
and i've... no sound !
i try this :
Code
<events name="currentpano"
onnewpano="playsound(sound, ete_song_2012.mp3, 0);"
onremovepano="stopsound(sound);"
/>
<plugin name="soundinterface"
url="%SWFPATH%/plugins/soundinterface.swf"
alturl="%SWFPATH%/plugins/soundinterface.js"
rootpath="%CURRENTXML%"
preload="true"
keep="true"
/>
Display More
and... i've... no... sound !!!!
and i try (i'm persistent) :
<plugin name="soundinterface" url="./plugins/soundinterface.swf" alturl="./plugins/soundinterface.js" volume="0.1" rootpath="" preload="true" keep="true" />
<events onxmlcomplete="playMusic();" />
<action name="playMusic">
playsound('Music', 'ete_song_2012.mp3', loops='0')
</action>
and i've the sound BUT the sound reload at each pano are loading... so i've the variable onxmlcomplete... and the sound loops (so i've loops='0') !!!
Can u help me for this reload or for integrate separate sound for each pano ?