Search results
Search results 1-20 of 97.
Hi guys, Not sure how cs909 succeeded but I've just recently made a regular 360 pano AND also a video in portrait orientation(1080x1920, 29fps). When trying to adjust the video to the distorted hotpost into my pano as a videoplayerl it is 90° rotated right. So I modified hotspot attributes as follows Source code 1 2 3 4 height="1080" width="1920" ath="3.6" atv="-29" rotate="88.5" I tested it on MS Windows10, Firefox v104.0.2 and it works OK. Unfortunately none of other browsers (Chrome v104.0.51...
Hi guys! Just in case you are interested in attributes which cannot get the .getattributes() (e.g. scene[0]) I use my debug vars function for krpano objects, arrays, ... Source code 1 2 dv(layer[any]) dv(scene) or to clear message log Source code 1 dv Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <action name="dv" scope="local" args="dstring, " > if (dstring, debug('=================== ', %0,'(', dstring, ') ==================== tick=', calc(global.timertick BOR 0)); debugvar(get(dstring)); if...
Hi Philippe, You can set the initvars.i18n_lang in the URL Source code 1 - start your tour.html with initvars:{i18n_lang:"de"} in the embedpano or in the starting URL add the parameter ?initvars.i18n_lang=de See my example https://pavel.ursiny.sk/pano/Art/Reforma…rs.i18n_lang=fr By default it starts as a Slovak version. Thanks and have a great day! Pavel
Hi Klaus, Quoted from "klaus.krpano" What exact behavior do you mean? When quickly testing your tour it seems to work... Generally I would recommend avoiding the usage of the wait(), it's mainly a leftover from very old versions. In old versions it was blocking just everything and that was highly problematic of course. Now it depends where it was called what will happen. There is no way to do a simple upgrade of my code from ver. 1.19-pr16 to 1.20.7/9 because the wait(LOAD) in 1.20. blocks every...
Hi Klaus, Please note that the current wait(LOAD) action does not work as worked in 1.19-pr16. I used it in my obj360 tour Now the krpano ver. 1.20.7, 1.20.9 freezes the tour at all. Any work around? Have a great day! Pavel
Hi Klaus, It seems that the plugin bingmaps.js does not treat the layer[skin_map].radar.visible right way: When using settings.map_type=bing the HTML5 does not toggle the radar.visible attribute. It works well under FLASH and also in the googlemaps.js. When the radar is hidden at the first scene, there is no way to display the radar anymore. When the radar gets shown at the first scene and I want to hide it next, the radar stays visible on the last instance. (Win10: Firefox 75.0, Chrome 81, Edge...
Aleksandr, It's really great! Pavel
Hi Zephyr, I split it simply by Source code 1 2 3 4 5 <scene name="scene_02" title="get:i18n.scene_02.key[title].txt" ... <include url="%HTMLPATH%/vtour/panotags/in_scene_02.xml" /> </scene> The in_scene_02.xml file is pure hotspots definition like Source code 1 2 3 4 5 6 7 <?xml version="1.0" encoding="utf-8" standalone="yes"?> <krpano> <hotspot name="tg_190511_19420944" style="panotag_hotspot_style" title="Knieža RASTISLAV" subtitle="820 - 870" note="get:i18n.scene_02.key[tg_190511_19420944].n...
rejentt, There is a typo in your <a> tag code. The closing tag shouold be </a>. And due to xml syntax checking you need to use instead of "<" and ">" characters the "[" and "]" when feeding the html of the text box. Pavel
Hi jvh, Seems there is a better solution. Make the snapshot container dragable. In the 'makescreenshot' action of the krpano add: Source code 1 container.ondown = "draglayer()"; And add the draglayer actionto your tour.xml or your code container xml file. Pavel
Florian, Sorry for perplexing you, but what copies attributes from tagAttrArr is just here: Source code 1 2 3 tagAttrArr.forEach(function(tagattr){ if (hotspotObj[tagattr]) tagObj[tagattr] = hotspotObj[tagattr] + ""; //convert to string! }); Pavel
jvh, Apparently you need to allow viewing your scene over the whole image. Right now your <view is limited by the limitwiew=auto. Change it to limitview=off. Another story is the container size of the snapshot image. You need to adjust it to a better width/height. Pavel
Recky, Without testing your case on a mobile just try set the <control https://krpano.com/docu/xml/#control.touchzoom Does it help? Pavel
Hi Florian, I'm solving this issue by following code. It's part of my current Work In Proggress so please focus on the tagattributes in the panotag_settings: Source code 1 2 3 <panotag_settings ... tagattributes="'name', 'newname', 'style', 'title', 'subtitle', 'note', 'tagstate', 'scenename', 'tagfileurl', 'ath', 'atv', 'tagsize'" /> How I use it in krpano JS action see my snipet below. First I create an Array, and then I use the array to copy, or so: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 1...
Ron, Klaus, Quoted from "klaus.krpano" krpano doesn't need Flash in any way. The Flash viewer is already only a fallback viewer for very old systems and don't need to be used or added. But Flash support will be removed soon or later of course. Seems that to keep compatibility HTML5 AND Flash for the new plugins is just waste of time. Thank you for letting me know. Pavel
Index, Klaus, My bad. The krpano's action args replacing with %0, %1, %2, ...%N and in the action of type=Javascript where in both %0 and args[0] is the actionname. I hope, that Klaus in the next releases will not remove the %0, %1, %2, ... option in the localscope. I use it for the output formatting of the action call e.g.: Source code 1 if( debugmode, trace(calc('%0' + '(' + '%1, %2, %3, %4' + ')'));); which works consistent in both global and local action with variables as arguments. I unders...
Klaus, Please note that the arguments array args[] in the action does not show the action name as documented. Source code 1 2 3 4 5 <action name="my_test" scope="local"> for(set(i,0), i LT args.length, inc(i), trace(' arg[', i, ']=', args[get(i)] ); ); </action> The output of the call Source code 1 2 3 4 5 6 my_test( first, second, third, fourth); INFO: arg[0]=first INFO: arg[1]=second INFO: arg[2]=third INFO: arg[3]=fourth Thanks, Pavel
Fotojehle and Fernando, Thank you for your posibive feedback. pur
Quoted from "spacerywirtualne" It has nothing to do with my plugin. Their operation and application is completely different. Do not you see the difference Piotr, I don't question your plugin at all. It's with the MAKE droplet and I see you have also added the requested feature allowing rotating when zoomed in. I don't judge the operation neither. Just from top of your head: Is it possible to use your plugin as I do rotate the objects in my vtour? Thank you. Pavel
Anoril, I bookmarked Klaus' snipet of the code and love it. Do you see the difference? Source code 1 2 sphereToScreen(a, b, c, d); trace('c=', calc(c * 1.0 == c ? c : 'NOT a Number'), ' d=', d); Simplex pulchrum est. Pavel