Open fleabeard69 opened 1 year ago
You can use the loadScene
API method to switch to a new scene. First, you need to assign the viewer to a variable, e.g., var viewer = pannellum.viewer(...);
. Then you can call, e.g., viewer.loadScene('Banner 2');
. You can use setTimeout
to add a delay.
I would like to know if there are any ways to have 2 scenes in a tour? I do not wish to use hotspots and would much rather prefer it to either load the next scene automatically after a given period of time on the 1st scene, or to at least load the next scene after the 1st scene has completed a full revolution.