April 12, 2017 at 11:20 AM #1 Why event "onpreviewcomplete" triggered then when there is no preview?In the document says - "This event will be called when the loading of the preview image was completed"But I do not have any preview image. Code <krpano> <events onpreviewcomplete="showlog()" /> </krpano>
April 12, 2017 at 11:58 AM #2 Hi,so far I remember this is done due compatibility reasons - some examples or cases were depending on that event to trigger something or the keep the same flow for panos with and without preview image (e.g. in a tour with mixed panos)...Best regards,Klaus
April 12, 2017 at 12:15 PM #3 Thank you for the explanation!I applied the workaround and signed up for the event through action. Code <layer name="intro" ... onloaded="set(events.onpreviewcomplete, action); loadscene(0)" />