GOAL: Setup a HTML file to send parameters into the XML file on load. The goal was to setup multiple HTML files to load different default panos upon load. In the HTML file I would use a parameter called startup and add its variable to the viewer in the inital startup script. Discovered multiple issues when trying to perform this task.

PROBLEM: It appears to be a bug in the KOLOR generate SWL file and produces this error. FATAL: %$startup% - loading error (IO Error) This may be because KOLOR has turned on "disable external parameters" but I can't seem to find this.

TEMP RESOLUTION NOT PERFECT AND STILL PROBLEMS: I downloaded the new krpano.swf file and it worked however now I have licensing issue because I purchased the PANO TOUR PRO through KOLOR.

SUGGESTION: I noticed in all the KOLOR code generation they are NOT using createPanoViewer. This is a problem because if you want to add your own custom work such as variables you can't. Instead KOLOR creates the inital pano via embedpano (see below)

mkintner wrote:TEMP RESOLUTION NOT PERFECT AND STILL PROBLEMS: I downloaded the new krpano.swf file and it worked however now I have licensing issue because I purchased the PANO TOUR PRO through KOLOR.

There is no problem - just export the krpano license from PTP using Help/Licenses.

embedPano vs createPanoViewerThe 2 default HTML templates are there as samples.You can create as many HTML template as you want.Just choose the "Edit/Open Templates Directory" menu entry in Panotour Pro.Then create your own template by copying one of our html web page and one of its subdirectory.The subdirectory should have same name as the html file. Its content will be copied by Panotour Pro in the tour directory.

add variables to a viewerTo be able to add external variables to a viewer you need to restrict the usage of your player to one (or some) domain(s).Use the "Restricted domains" field in the "Project Properties" tab.

Load a specific pano at startYou are right, to be able to load a specific pano at start you'll have to remove the line

Be aware that many Panotour Pro "start" features will not be available (Little Planet, Splash Screen, etc...), because in 1.8 version of PTP, some start code is written in the XML file of the first panorama.This part should be fixed in the 2.0 version of PTP.

I did everything you said in the post before but its still not working. I typed in the restricted adress and exported the panorama. Modified the virtualtour.xml and the virtualtour.html but its not working. Kinda confusing.