How to access different vr in single vtour?

  • Hi! I'm using MAKE VTOUR (MULTIRES) droplet.bat to create a vtour with 4 different images.

    After I create the html, if there anyway that I can access direct to each of the image?

    Now, I'm duplicate the html and xml in 4 sets and change the 4 xml data, so I can access each of the image directly.

    But when I need to change the hotspot of the xml, I need to change 4 sets.

    Is that anyway that I can easy to access different part of the vtour? like passing param to the html so the xml will load different image. Please help, many thanks!

  • Hi,

    default skin is already looking for a custom 'startscene' variable (see 'startup' <action> in the tour.xml) - with a custom start scene name or index can be set from external,

    e.g.

    Code
    tour.html?startscene=second_scene_name

    or pass the 'startscene' variable in the html:

    Code
    embedpano({..., vars:{startscene:"second_scene_name"} });

    Best regards,
    Klaus

  • Hi,

    default skin is already looking for a custom 'startscene' variable (see 'startup' in the tour.xml) - with a custom start scene name or index can be set from external,

    e.g.

    Code
    tour.html?startscene=second_scene_name

    or pass the 'startscene' variable in the html:

    Code
    embedpano({..., vars:{startscene:"second_scene_name"} });

    Best regards,
    Klaus</action>


    thx a lot!

Participate now!

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