Update image URL ipad

  • Hello everyone,

    I've been working on a tour with lot's of scenes. I want to keep things a bit organized, so I made one scene. Everytime I want to go to another scene, I just update the image url's and reload the scene.

    This works fine on the desktop. The problem is that it doesn't seem to work in my Ipad. I think it sees what image url it should change to, and it reloads the scene, but doesn't updating the images.

    Anybody got any idea what I can do without making a lot of different scenes?

    Thank you in advance!

    Arthur

  • Hi,

    the reloadpano() action isn't supported in HTML5.

    Alternatively you could use the normal loadpano() action and set the <image> settings in the 'var's parameter,
    e.g.

    Code
    loadpano(null, image.cube.url=pano1_%s.jpg, MERGE, BLEND(1));

    Best regards,
    Klaus

  • So far no luck. It's weird because everything works the way I want on desktop, just nog in html5.

    I've got an action to load my pano scene.

    Code
    set(curScene, pano/data/int/%3/woonkamer/%1/%2);
    loadscene(sceneWoonkamer,null,KEEPALL,blend(1));


    The scene has got an onstart action:

    Code
    <scene name="sceneWoonkamer" onstart="setimage(get(curScene));">


    This changes all the images:



    The url of the images are being updated/changes at each option you choose.

    Anyone got an idea who this won't work on html5? It keeps showing the same pano images.

    Arthur

    Edited once, last by arthur (July 10, 2014 at 12:28 PM).

Participate now!

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