Can someone please verify this odd behaviour that has been driving me nuts? I am using krpano version 1.20.11.
Short version: the event "onloadcomplete" is NOT called when using a cubestrip image. It indeed IS called, when using a sphere image.
Long version: When implementing a variation of "Javascript: Synchronize Two Viewers" (https://krpano.com/examples/) I rely on the "onloadcomplete" event to init timerticks of all viewers to be synced. It all works fine, as long as I use the following, simplified setup:
<events
onloadcomplete="loadcompl()"
onxmlcomplete="xmlcompl()"
/>
<action name="xmlcompl">
trace('on XML complete PANO2 fired');
</action>
<action name="loadcompl">
trace('on LOAD complete PANO2 fired');
</action>
<image>
<!-- <cubestrip url="cubestrip.jpg" striporder="FRBLUD" /> -->
<sphere url="sphere.jpg" />
</image>
Alles anzeigen
I get both trace messages: XML-complete and LOAD-complete.
Now, as soon as I switch to <cubestrip>, I only get XML-complete trace messages.
Find attached ZIP for demonstration, a slightly modified version of the example linked above.
Happy with any hints!
Cheers,
Hennes