Sie sind nicht angemeldet.

1

Freitag, 18. Februar 2011, 18:40

xml:"vtour.xml&language=french" ???

Hello,

I want to start my vtour with a language parameter.
I have define it in the xml and i want to init it with a value (french in my test) when i call the vtour.
I use this code to init the parameter before the vtour start :

embedpano({swf:"swf/krpano.swf", xml:"vtour.xml&language=french", target:"pani"});

All works fine in flash, but not in html5. It returns a fatal error :

vtour.xml&language=french - loading or parsing failed

Have somebody an idea ?

Thanks for your help !

Via360

2

Samstag, 19. Februar 2011, 15:20

Hi,

difficult to say yet, but I will check it,

but you could use the createPanoViewer or createswf embedding functions and
the addVariable() function to set the language variable, that should work in any case,

best regards,
Klaus