Search results
Search results 1-18 of 18.
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?
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 ...
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/...
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
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...
Hi. I found solution - krpano.parsePath
Hi. How can I get the value of %BASEDIR% placeholder in JavaScript of a plugin?
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.
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"?
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_...
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
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.
Hello Tuur. Unfortunately it does not help. Somehow it does nothing.
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="...
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: ...
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 ...