vr.window_width = windowW;
vr.window_height = windowH;
vr.window_x = refX;//BRS to move when the page furniture moves
vr.window_y = refY;//BRS to move when the page furniture moves
vr.autorotate = PanoNode.attributes.rotation;
vr.autorotate_delay = PanoNode.attributes.delay;
// change initial viewing parameters
vr.pan = PanoNode.attributes.panInit;
vr.tilt = PanoNode.attributes.tiltInit;
vr.fov = PanoNode.attributes.fovInit;
You can see from the last few that I use an xml file to set the parameters - and the hotspot locations - for each pano in each tour. Have a look at http://www.briansutton.net.
I started with Thomas' demo code, but I now have 700 lines (I'm not a very efficient coder and there are lots of comments to remind me at a later date what I did!)
I still have trouble getting the controller to show

I've also yet to work out how to use the new hotspotting in pano2qtvr

So we all have problems! Not only are small things easily missed, but also sometimes one can be shy to ask or even answer a question because people will think one silly

Best regards,
Brian