Sie sind nicht angemeldet.

21

Mittwoch, 19. Mai 2010, 09:31


first the xml is set to "bathroom.xml" and then the html query parameters are parsed and set, and if a xml parameter will be set, it overwrite the first setting


Ok, this works very well in Firefox 3.6.3 Linux. But Firefox 3.5.9 Windows and IE 6 Windows it goes to the start-xml (bathroom.xml ;)) and not to the xml I put in the URL.

:(

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

23

Mittwoch, 19. Mai 2010, 15:06

Yes, but with index.html and not virtualtuur.swf.

After kprotect it doesn't work anywhere anymore, maybe because I entered 'onstart="bla.xml"'. I put off the 'disable external parameters'.

24

Donnerstag, 20. Mai 2010, 10:50

Hi,
Ok, this works very well in Firefox 3.6.3 Linux. But Firefox 3.5.9 Windows and IE 6 Windows it goes to the start-xml (bathroom.xml ;)) and not to the xml I put in the URL.
do you have an example link?

best regards,
Klaus

25

Donnerstag, 20. Mai 2010, 11:37

http://iolar.nl/vt/bilderberg/index.html
leads to voorzijde.xml

http://iolar.nl/vt/bilderberg/index.html?pano=zwembad.xml -> should work, but leads to voorzijde.xml (also in Linux). Maybe that is because I put 'onstart=loadpano(voorzijde.xml)' in the xml-code. Without that I get a black start-screen.

I also have a version which is not protected, but it's not online yet. That version works with ?pano=blabla.xml, but only in Linux FF. I will put it online later.

26

Donnerstag, 20. Mai 2010, 12:03

Hi,

okay, I understand now - the external xml/pano parameters can be only used for loading external files, not embedded ones,
when a startup xml was selected in the kprotect tool, that will be always used when starting the viewer,

but you could do that - overwriting the onstart action and load the xml manually:

Quellcode

1
http://iolar.nl/vt/bilderberg/index.html?onstart=loadpano(zwembad.xml);

link:
http://iolar.nl/vt/bilderberg/index.html…o(zwembad.xml);

or set any custom variable at the html and check inside the xml (e.g. in the onstart event) for that variable and load the wanted xml for it,

best regards,
Klaus

michal.strba

Anfänger

Beiträge: 7

Wohnort: Nitra, Slovakia

Beruf: Programmer, photographer

  • Nachricht senden

27

Dienstag, 8. Juni 2010, 13:49

Hi!

Is there a way to enable fullscreen in a direct linked panorama using link parameters? In an example: http://www.virtualtravel.sk/krpano/playe…no/xml/1080.xml , the lower right button suppose to switch to the fullscreen mode.

Thanks, Michal.

28

Donnerstag, 21. Oktober 2010, 18:34

Issues

I have two issues...

tried link to specific panorama by
direct link:

Quellcode

1
http://www.3dpanorame.com/3dpanorame/nasice/nasice.swf?onstart=action(load_07);

http://www.3dpanorame.com/3dpanorame/nas…ction(load_07);
action:

Quellcode

1
2
3
4
<action name="load_07">
action(updatespot,spot07);
action(loadpano,07crkva.xml);lookat(-26,-27);
</action>


wich loads 07crkva.xml and updates spot07 on google maps plugin

07crkva panorama loads, but spot doesn't update

i'm i doing something wrong?

another issue is that when i load specific panorama first it showes panorama 07crkva but it changes to krpano.xml (startup panorama) and then back to 07crkva... is this normal... All of my files are in swf by kprotect except images for panorama..

tnx for response

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

29

Donnerstag, 13. Januar 2011, 14:19

Hi,

i was wondering how to set a plugin visible in the url

i have for testing:

http://www.virtualtuur.com/Lobbes_2/P/vi…2.visible=true&

but it doesn't show.. in bottomright corner

the plugin is in the 1.xml

Thanx

Tuur

Edit: found it http://www.virtualtuur.com/Lobbes_2/P/vi…].visible=true&

Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »Tuur« (20. Mai 2011, 00:26)


Beiträge: 148

Wohnort: Italy

Beruf: Freelance Fotographer

  • Nachricht senden

30

Donnerstag, 11. April 2013, 18:55

Hi,

yes, when you use the current swfkrpano.js what would be pretty easy:

Quellcode

1
2
3
4
	var swf = createswf("krpano.swf");
	swf.addVariable("xml","bathroom.xml");
	swf.passQueryParameters();
	swf.embed("krpanoDIV");


first the xml is set to "bathroom.xml" and then the html query parameters are parsed and set, and if a xml parameter will be set, it overwrite the first setting,

best regards,
Klaus
so "// pass all external parameters" method isn't much more valid. it is sufficient "passQueryParameters();" functions?

31

Freitag, 12. April 2013, 10:10

Hi,
so "// pass all external parameters" method isn't much more valid. it is sufficient "passQueryParameters();" functions?
Yes, for the documenation about the krpano embedding, please see here:

http://krpano.com/docu/html/#top

There is now either a setting that can be set to pass all parameters automatically:
http://krpano.com/docu/html/#passQueryParameters

And there is also the passQueryParameters() function call:
http://krpano.com/docu/html/#passqueryparameters

Best regards,
Klaus