You are not logged in.

Search results

Search results 1-20 of 29.

Wednesday, March 11th 2020, 10:29am

Author: lerayfle

Communication between differents devices

You'd need a PHP/NodeJs server in order for your visits to be able to push/pull notifications to the other device. Can you setup a nodejs server on your tablet? a php one ? You could then check what kind of solutions you have to push notifications from the server to the devices. https://github.com/web-push-libs Else for that notification system, if you want to do it "from the bottom to the top", especially as you're not going to connect to the internet (security issues), in AJAX/PHP : each devic...

Tuesday, March 10th 2020, 10:09pm

Author: lerayfle

1.20 regression - nested styles

Woohoo, you made my day! Thx

Tuesday, February 18th 2020, 5:26pm

Author: lerayfle

1.20 regression - nested styles

Thanks for the pipes, I'll try to stick with your 2nd example. <style name="style3" style="style1|style2" /> <hotspot name="myhotspot" style="style3" /> I imagine my example was never meant to be working in 1.19 either and it was just luck. But it seemed so straightforward and so easy in krpano's documentation : "When the xml element will be first created, all attributes defined at the <style> element will be copied to the element itself." I guess this sentence is wrong when the xml element is a...

Friday, February 14th 2020, 10:59pm

Author: lerayfle

1.20 regression - nested styles

Was working in 1.19 but not anymore in 1.20 : I simplified the case, but 1.20 shows a critical regression on nested styles on my side. Maybe I'm mistaken but : Source code 1 2 3 4 <style name="style1" /> <style name="style2" style="style1" /> <style name="style3" style="style2" url="myimage.jpg" ath="20" atv="20" /> <hotspot name="myhotspot" style="style3" /> works : the hotspot is shown at ath:20 and atv:20 Source code 1 2 3 4 <style name="style1" /> <style name="style2" style="style1" ath="20"...

Friday, February 14th 2020, 10:39pm

Author: lerayfle

Merge krpano sources into one file

Same, solution is here, but tough thing is to manage includes and relative paths, %SWFPATH%, %FIRSTXML%, etc... I personally work with simplexml_load_file, with 2 args to replace %SWFPATH% and %FIRSTXML% on the go Source code 1 2 3 4 5 6 7 8 9 $PreLoaded = simplexml_load_file($CurrentXml); foreach($PreLoaded->include as $include){ $IncludePath = $include['url']; !isset($FIRSTXML) ? : $IncludePath = str_replace('%FIRSTXML%', $FIRSTXML, $IncludePath); !isset($SWFPATH) ? : $IncludePath = str_replac...

Tuesday, November 12th 2019, 4:10pm

Author: lerayfle

Where to install a stat counter code?

Hi Haven't you found <body> tags in the file tour.html? Florian

Thursday, March 21st 2019, 10:43pm

Author: lerayfle

Image popup in WebVR?

What you can do is use hotspots instead of layers. A hotspot will still popup, but will not constantly follow your cursor in VR. Which means you''ll be able to close it if you add some close button somewhere.

Thursday, March 21st 2019, 10:34pm

Author: lerayfle

How To Create Panorama Tour Virtual 3D - With Panotour Pro

Hi, No answer... Maybe the question is not clear. Here we are on krpano forum. The visit at the URL you mention was created with Panotour. Panotour was something like a User Interface to configure the krpano viewer, so you could build nice visits without coding knowledge. It was the property of Kolor, acquired by GoPro, and Panotour has never been sold here. Anyway Kolor does not exist anymore and Panotour is not sold anymore. You can still get the krpano license, but that won't get you any UI, ...

Thursday, March 7th 2019, 10:47pm

Author: lerayfle

getattributes usage

Thank you for that precision! My initial request was to manage to use getattributes(), which I still haven't managed to do Of course -your code shows it, , we can code it back from scratch. It's just that well, I wanted to use the higher level functions krpano was providing.

Saturday, March 2nd 2019, 12:00pm

Author: lerayfle

getattributes usage

Hi, Thanks I don't really get what the _action_callback is for, nor approx 50% of your code, your example is way beyond my js knowledge lol. However I think your line with the getArray() method inspires me. Source code 1 krpano.get(datasrc).getArray().forEach(function(tag){... I need to check that. Huge thanks, Florian

Thursday, February 7th 2019, 3:02pm

Author: lerayfle

getattributes usage

Hi, I would like to browse attributes of a given hotspot to copy only a subset of them to another hotspot. Like copyattributes() but with a way to say "copy this, not that". I tried to run around the getattributes() function, but I couldn't get it work from krpano itself. Best shot I could give was to copy paste it, but the result looks so ugly... Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <action name="skd_SetStyleFromConfig" type="Javascript"> <![CDATA[ var configobject = krpano.get(caller.c...

Friday, January 25th 2019, 12:33pm

Author: lerayfle

Exclude a flat image in VR mode

I don't get what you can't see, flat images seem to work on my side Anyway, there are webvr_onentervr and webvr_onexitvr events if you want to set hotspots/layers to visible=true/false or scale them up.

Friday, January 25th 2019, 12:27pm

Author: lerayfle

Overload attributes with GET:

Super! Thank you for including this in the next update already

Monday, January 14th 2019, 3:38pm

Author: lerayfle

Overload attributes with GET:

Yep, I also got to use that onloaded way-round But anyway, documentation says "the later/following declarations will overwrite the previous one", which in this case is not true

Saturday, January 12th 2019, 3:57pm

Author: lerayfle

Overload attributes with GET:

Hmm... - Using get() does not seem to be possible in attributes - documentation says GET: is meant to be used that way, and Klaus himself uses it in vtourskin.xml, what am I doing wrong? Quoted When the value of a xml attribute starts with get: or calc:: In this case the value for the xml attribute will get from an other variable or calculated using an expression And in the doc about overwrite, it says : Quoted All xml elements and attributes in the krpano xml are optionally and can be defined a...

Thursday, January 10th 2019, 6:56pm

Author: lerayfle

Overload attributes with GET:

Hi, I've been using GET: a bit and it seems like if you use a GET: in a given attribute, then one cannot overload this attribute. <hotspot name="myhotspot" type="text" visible="true" distorted="true" ath="0" atv="0" html="myhotspot" /> <hotspot name="myhotspotcopy" type="text" visible="true" distorted="true" ath="20" atv="0" html="get:hotspot[myhotspot].html" /> <!-- override of myhotspotcopy --> <!-- override of ath works perfectly, override of html does not --> <hotspot name="myhotspotcopy" ty...

Friday, December 14th 2018, 5:50pm

Author: lerayfle

fullscreen mode on start

Going landscape mode might be part of the solution https://krpano.com/forum/wbb/index.php?page=Thread&threadID=16569

Friday, December 14th 2018, 4:50pm

Author: lerayfle

Beginner's questions about setting a button to open hotspots' specific web links

You mean you want the hotspot to automatically call a url when hiddenhotspot is set visible, without having to click on it or hover it? i.e The other hotspots would just set the external url to open, and once the hiddenhotspot is set visible by some action somewhere, then the external url should be called ?

Friday, December 14th 2018, 4:39pm

Author: lerayfle

Parentscope and parent action name

Hi, Does anybody know how (if possible) I can get the %0 through parentscope? For instance, parentscope.args[0] is giving me the first argument of the parent action, but how do I get the name of the parent action? Thanks Florian

Thursday, September 20th 2018, 10:59pm

Author: lerayfle

Live Data Overlay

Hi Liam I like that idea but never had the images to try it. Klaus (All hail K!) made it really simple to use js, it should be easy to get something working. Drop me a private message to get things moving. Florian