Plugin have lot of bug ?!

  • 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 :

    and... i've... no... sound !!!! *cursing*

    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') !!! *confused*

    Can u help me for this reload or for integrate separate sound for each pano ?

  • Code
    <plugin name="soundinterface" url="./plugins/soundinterface.swf" alturl="./plugins/soundinterface.js" volume="0.1" rootpath="" preload="true" keep="true" />
    <events name="sound_events" onxmlcomplete="playMusic();" keep="false"/>
    <action name="playMusic">
    playsound('Music', 'ete_song_2012.mp3', loops='1')
    </action>

    I gave the event a name, After it has loaded, it will not load again. With loops = 1 It will play once, and not loop. (0 = infinite looping)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!