After the first touch, the music starts playing. But it doesn't loop,it only played once and then stopped.
krpano 1.20.9
Sound doesn't loop after the first touch.
-
-
show us you code if you want some help ;)
-
show us you code if you want some help ;)
<plugin name="bgmusic_interface"
url="%ROOT%/plugins/soundinterface.swf"
alturl="%ROOT%/plugins/soundinterface.js"
rootpath=""
preload="true"
keep="true"
/><action name="autoplaymusic" scope="local" autorun="onstart">
playsound(bgsnd,get(global.bgmusicurl),true);
</action>If the plugin try to automatically unlock the browsers sound playback on start using the first touch or click events,then it's only going to play once.However, when the action is executed the second time, its loop will work.I think it has something to do with autounlock.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!