scene plugin js idiosyncracy or MERGE not working according to docs

  • plugins with duplicate names in scenes not replaced for JS only

    <scene name="scene1">
    <plugin name="sound" onclick="function 1" pluginname="1">

    <scene name="scene2">
    <plugin name="sound" onclick="function 2" pluginname="2">

    tracing out pluginname shows the difference between flash and html5

    Flash works as expected.
    OR MERGE is not according to the docs, which would mean my html5 is working as expected and flash isn't.

    https://krpano.com/docu/actions/#loadscene
    "If there are plugins and hotspots in the new panorama with the same name as the kept ones, the new elements will not be loaded."

    Tried both methods here and achieved the same result in html5.
    loadscene(get(scene[0].name),null,MERGE,BLEND(1));

    loadscene(get(scene[0].name),null,,BLEND(1));

    I guess I'll have to restructure how my per scene sound plugin works.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!