You are not logged in.

Search results

Search results 1-18 of 18.

Friday, March 3rd 2017, 10:55am

Author: cvisto

SELECT element in JS plugin does not open option list in mobile browsers when user touches this element

Hello. I use krpano 1.19-pr8 and create a plugin with html div element that holds several SELECT elements. On desktop browsers when I click any of these SELECTS option list opens. But when I touch any of that elements with my finger on mobile device (Android) nothing happens. Option list does not open. Same for any mobile browser that I tried: Chrome, FF, Opera. Does somebody know what's the trick with SELECT element in mobile browsers for krpano plugin?

Monday, November 21st 2016, 6:01pm

Author: cvisto

[SOLVED] How to calculate displayed width/height of distorted hotspot for certain view.fov value?

I found something. I changed hotspot.renderer to 'css3d'. And now I can get DOM element. But its displayed size is changed because of css "transform: perspective(Npx) translateZ(Npx)" property. I think I had to explain the issue from the very beginning. There is a distorted image hotspot wich is placed in the bottom of the screen. Every time onviewchange event is fired pixels coordinates of screen are translated by screentosphere function and atv/ath of the hotspot are changed. So hotspot stays ...

Wednesday, November 16th 2016, 5:19pm

Author: cvisto

[SOLVED] How to calculate displayed width/height of distorted hotspot for certain view.fov value?

Hello. There is an distorted image hotspot. I need to learn width and height of that hotspot for certain fov value. Not image size or original hotspot size but width/height of hotspot's DOM element for any certain view.fov. So I wander how to calculate that DOM element width/height. Maybe there is hotspot's property that holds it's DOM element? I did not find it. This link Example/Tutorial - interactive area in the pano (aligned distorted hotspot) explains how to get only original hotspot width/...

Monday, September 21st 2015, 12:28am

Author: cvisto

Can not print panorama in FF

Hi I try to print panorama in FireFox. By in preview it is not visible. Just black backgroud. All plugin's containers and hotspots are visible. But panorama images are not. How can I fix that? And width of player always overflow A4 page width (in landscape orientation) because width and height of some divs are set not in percents but in pixels. How can I change it to be in percents? krpano-1.18.4

Tuesday, July 21st 2015, 9:52pm

Author: cvisto

How to make text on plugin's div be selectable

Hi. I use krpano 1.18.3 I made a plugin in krpano.xml Source code 1 2 3 4 5 6 <plugin name="name" type="container" alturl="%BASEDIR%/KrpanoPlugin.js" devices="html5" keep="true" bgcolor="0xFFFFFF" bgalpha="0.5" align="bottomright" x="10" y="90" y_opened="90" y_closed="30" width="20%" height="264" /> then placed a text on it. But how to make it selectable? I did it only for FF - by using "-moz-user-select: text" css property for div with text. For Chrome and IE (-webkit-user-select and -ms-user-s...

Friday, April 3rd 2015, 2:50pm

Author: cvisto

How to learn the url path holded by %BASEDIR% placeholder [SOLVED]

Hi. How can I get the value of %BASEDIR% placeholder in JavaScript of a plugin?

Wednesday, February 25th 2015, 12:11pm

Author: cvisto

XML parsing error in FF and IE after xml public encryption

Hi. I use krpano v1.18.2 I created custom krpano HTML5 viewer with "Krpano Tools" (Protect Tool tab) Then I encrypt xml files using Encrypt Tool tab ("Use private encryption" option was unchecked). Windows: - Chrome - all works fine - FF - xml parsing error - IE - Invalid document syntax error Without encryption all works fine. I tried to encrypt three xml files. One of them works even in encrypted state. Two others occur the above error. What's wrong? Does anybody know. Thanks in advance.

Friday, February 13th 2015, 9:39am

Author: cvisto

Is there a way to switch off automatic url correction from krpano?

And "http://someaddress.com/panoname/l1_1_1_1.jpg" is not a relative URL. Why is it supposed to be a relative to "http://localhost/ajax"?

Wednesday, February 11th 2015, 12:24am

Author: cvisto

Is there a way to switch off automatic url correction from krpano?

Hi. Is there such way from subject? I load xml by loadpano('http://localhost/ajax/pano.xml') function with below content: <krpano> <image type="CUBE" multires="true" tilesize="512" progressive="true"> ... <level tiledimagewidth="512" tiledimageheight="512"> <cube url="%$sv.tilespath%/panoname/l1_%s_%v_%h.jpg" /> </level> ... </image> </krpano> Variable sv.tilespath="http://someaddress.com" After automatic correction url address becomes "http://localhost/ajax/http://someaddress.com/panoname/l1_1_...

Tuesday, September 16th 2014, 7:15am

Author: cvisto

limitview value changes to "auto" after loadpano() call

Hi. I understand that. In this case maybe you can include setting (like KEEPVIEWLIMITS) to loadpano function that will control how view limits are set: from new pano settings or are kept without any changes

Wednesday, September 10th 2014, 11:09am

Author: cvisto

limitview value changes to "auto" after loadpano() call

Yeah, and tried to avoid that because I want that settings be set in main xml file so customer can set it. Solved the problem by setting values in onnewpano event. Thanks.

Wednesday, September 10th 2014, 6:33am

Author: cvisto

limitview value changes to "auto" after loadpano() call

Hello Tuur. Unfortunately it does not help. Somehow it does nothing.

Tuesday, September 9th 2014, 10:06pm

Author: cvisto

limitview value changes to "auto" after loadpano() call

Hello. In the .xml file I wrote: Quoted <view fovtype="MFOV" fov="90" fovmin="100" fovmax="100" limitview="fullrange" vlookatmin="0" vlookatmax="0" /> then after loadpano call Quoted loadpano(kgen.php?sv=01,null,merge,blend(0.7)); view.limitview becomes "auto" and view.vlooatmin="-90" and view.lookatmax="90". Why is it so? How to save startup values? This is xml content that kgen.php returns: <krpano> <mapspot pano="01" title="01" lat="50.00116782" lng="8.65180569" heading="122"/> <preview url="...

Wednesday, August 21st 2013, 3:40pm

Author: cvisto

hotspot's image and plugin JS file are loaded only after loading all pano's tiles

Hi. I did some tests and learnt that DIV element that corresponds to hotspot exists in the very begining. But its style attribute has value Quoted display: none; position: absolute; z-index: 2001; overflow: visible; cursor: pointer; pointer-events: auto; opacity: 1; -webkit-transform-origin: 0px 0px; And it is rendered only in the very end of pano's tiles loading. Style attribute becomes Quoted position: absolute; z-index: 2001; overflow: visible; cursor: pointer; pointer-events: auto; opacity: ...

Tuesday, August 13th 2013, 4:33pm

Author: cvisto

hotspot's image and plugin JS file are loaded only after loading all pano's tiles

Hello. I use krpano 1.16.4 And faced with some thing that I suppose strange. I load pano with "loadpano" action. XML file that is loaded contains <hotspot url="%BASEDIR%/hotspotpic.png"> tag. And base XML file contains <plugin alturl="%BASEDIR%/plugin.js"> tag. But hotspot is rendered only after all pano's tiles are loaded. And so browser sends request for hotspotpic.png in the last turn. Same with plugin.js. And if one has slow internet connection hotspot and plugin appear after amount of time ...