Sie sind nicht angemeldet.

Suchergebnisse

Suchergebnisse 1-20 von insgesamt 97.

Freitag, 23. September 2022, 23:57

Forenbeitrag von: »pur«

Video in portrait / FIXED

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 Quellcode 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.5112...

Montag, 7. März 2022, 22:45

Forenbeitrag von: »pur«

debug variables

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, ... Quellcode 1 2 dv(layer[any]) dv(scene) or to clear message log Quellcode 1 dv Quellcode 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 (%1.c...

Sonntag, 20. Februar 2022, 21:37

Forenbeitrag von: »pur«

Multilingual/multi-language support for krpano viewer = internationalization = i18n

Hi Philippe, You can set the initvars.i18n_lang in the URL Quellcode 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

Donnerstag, 17. Dezember 2020, 00:27

Forenbeitrag von: »pur«

@ wait(LOAD)

Hi Klaus, Zitat von »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 everyth...

Montag, 7. Dezember 2020, 21:54

Forenbeitrag von: »pur«

wait(LOAD)

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

Montag, 15. Juni 2020, 23:39

Forenbeitrag von: »pur«

Bug in bingmaps.js ?

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...

Donnerstag, 5. März 2020, 22:51

Forenbeitrag von: »pur«

roulette

Aleksandr, It's really great! Pavel

Donnerstag, 5. März 2020, 22:28

Forenbeitrag von: »pur«

Split hotspot code and scene code

Hi Zephyr, I split it simply by Quellcode 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 Quellcode 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].note"...

Mittwoch, 6. März 2019, 17:27

Forenbeitrag von: »pur«

Text hyperlink inside hotspot

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

Mittwoch, 6. März 2019, 16:57

Forenbeitrag von: »pur«

Capture part of the screen

Hi jvh, Seems there is a better solution. Make the snapshot container dragable. In the 'makescreenshot' action of the krpano add: Quellcode 1 container.ondown = "draglayer()"; And add the draglayer actionto your tour.xml or your code container xml file. Pavel

Dienstag, 5. März 2019, 22:15

Forenbeitrag von: »pur«

getattributes usage

Florian, Sorry for perplexing you, but what copies attributes from tagAttrArr is just here: Quellcode 1 2 3 tagAttrArr.forEach(function(tagattr){ if (hotspotObj[tagattr]) tagObj[tagattr] = hotspotObj[tagattr] + ""; //convert to string! }); Pavel

Dienstag, 5. März 2019, 22:03

Forenbeitrag von: »pur«

Capture part of the screen

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

Freitag, 22. Februar 2019, 23:14

Forenbeitrag von: »pur«

Events propagation in Plugin [SOLVED]

Recky, Without testing your case on a mobile just try set the <control https://krpano.com/docu/xml/#control.touchzoom Does it help? Pavel

Mittwoch, 20. Februar 2019, 23:42

Forenbeitrag von: »pur«

getattributes usage

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: Quellcode 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: Quellcode 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15...

Donnerstag, 31. Januar 2019, 19:13

Forenbeitrag von: »pur«

The future of Krpano

Ron, Klaus, Zitat von »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

Montag, 28. Januar 2019, 19:42

Forenbeitrag von: »pur«

krpano 1.19-pr15 / pr16

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.: Quellcode 1 if( debugmode, trace(calc('%0' + '(' + '%1, %2, %3, %4' + ')'));); which works consistent in both global and local action with variables as arguments. I understa...

Sonntag, 27. Januar 2019, 19:32

Forenbeitrag von: »pur«

The args[0] does not show the name of the action

Klaus, Please note that the arguments array args[] in the action does not show the action name as documented. Quellcode 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 Quellcode 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

Samstag, 26. Januar 2019, 20:25

Forenbeitrag von: »pur«

obj360, OBJECT360, HTML5/Flash + VR multires object plugin

Fotojehle and Fernando, Thank you for your posibive feedback. pur

Samstag, 26. Januar 2019, 00:53

Forenbeitrag von: »pur«

HTML5 Multires Object Rotate droplet [new version with navigator window]

Zitat von »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

Freitag, 25. Januar 2019, 23:57

Forenbeitrag von: »pur«

Spheretoscreen gives NaN at some point

Anoril, I bookmarked Klaus' snipet of the code and love it. Do you see the difference? Quellcode 1 2 sphereToScreen(a, b, c, d); trace('c=', calc(c * 1.0 == c ? c : 'NOT a Number'), ' d=', d); Simplex pulchrum est. Pavel