Conversation
supportHello! I am looking for a solution to the following problem. On a single page I have multiple panos embedded. When loaded sequentially, all the previous ones remain active, which slows down the browser significantly. Is there a way through additional js code, when activating the next pano, the previous ones are automatically deactivated. I mean, to switch to the initial static cover (I don’t use the option – automatic loading of the scene) The page I need help with: [ log in to see the link]
In principle it is possible to return the panorama to the initial state, but I need to check it.
That, I guess, will take a while. I resorted to using an alternative method until then – opening the pano in a new browser tab. Can you please give me a js code + css class to place a button in the pano to close the current browser window when the user finishes viewing the image.
Of course, the ideal option is to visualize the panos in a lightbox. I guess this will be useful for other users of your plugin as well. If there is a way to do this by adding a little code in the js section, that would be great.
Well, it can be done. Each virtual tour has an unique URL like https://avirtum.dev/ipanorama/virtualtour/1 . For test I’ve installed the plugin “wp-featherlight”, then put a link like below <a href="https://avirtum.dev/ipanorama/virtualtour/1" data-featherlight="iframe" data-featherlight-iframe-height="480" data-featherlight-iframe-width="640">Open Lightbox with VR</a>
In principle it is possible to return the panorama to the initial state, but I need to check it.
That, I guess, will take a while. I resorted to using an alternative method until then – opening the pano in a new browser tab. Can you please give me a js code + css class to place a button in the pano to close the current browser window when the user finishes viewing the image.
Of course, the ideal option is to visualize the panos in a lightbox. I guess this will be useful for other users of your plugin as well. If there is a way to do this by adding a little code in the js section, that would be great.
Well, it can be done. Each virtual tour has an unique URL like https://avirtum.dev/ipanorama/virtualtour/1 . For test I’ve installed the plugin “wp-featherlight”, then put a link like below <a href="https://avirtum.dev/ipanorama/virtualtour/1" data-featherlight="iframe" data-featherlight-iframe-height="480" data-featherlight-iframe-width="640">Open Lightbox with VR</a>