Hi Dorin,
First, I think you can do everything you want using javascript....
About your request here and
here... If I understand, you want to set an autorotate to your panos (that have the xml embeded)...
I have tried some and it seems that you already use onxmlcomplete and onloadcomplete inside your panos... so, if we set them from javascript, we erase the code you already set...
Then, i have tried using onstart instead (it seems that your are not using it)...
like this:
http://www.livepanoramas.com/event/piram…1,onstart());)&
It seems to work...
I assume that you use 30 frames in each panos:
if(files_loaded GE 30,...)
so, I think you can use:
|
Source code
|
1
2
3
|
...
so.addParam("onstart","if(files_loaded GE 30,set(autorotate.enabled,true);,delayedcall(1,onstart());)");
...
|
or/also a javascript function to set the onstart:
|
Source code
|
1
2
3
|
...
krpano().set(onstart,if(files_loaded GE 30,set(autorotate.enabled,true);,delayedcall(1,onstart());))
...
|
Hope this help...
You have a singular way to use Krpano

... That's interesting... Congratulation

...
SAlut