Set Plugin Loader Priority / Plugin Load Chain

  • Hi, I want to ask if there is a possibility to get or set the Plugin loading priority.
    I have heavy plugins installed, and at first the screen in krpano turns black for a few seconds.
    I want to show a custom preloader first, then the preview images, at last all the other plugins and full images.
    The user would certainly get a "faster" experience.

    Any help appreciated :)
    Thanks!

  • you could use an event to dynamicly set plugins.

    Something like this. the URL of a plugin gets loaded once the panorama is done loading. And I think it follows the sequence, the top one gets executed first.

    Another way would be creating a sequence of onloads

    Code
    <plugin name="plugin1" .... onload="set(plugin[plugin2].url, someurl.jpg)" />
    <plugin name="plugin2" .... onload="set(plugin[plugin3.url, someurl2.jpg" />

Participate now!

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