You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, December 22nd 2021, 3:11pm

krpano 1.20.11

Hi,

there is a new version available: krpano 1.20.11.
Release Notes 1.20.11

It's mainly a bugfix-release but also offers some new nice features:

New features in krpano 1.20.11

  • It's now possible to use iframes (external websites), html-code and even krpano itself directly inside krpano as layers.
  • Using krpano inside krpano allows doing things like using krpano as maps-viewer inside a krpano tour - or the inverse - a map with krpano panos as popups on it. This way no external maps-library is required and the styling and controlling of everything (like the hotspots) can be done using the same krpano API.
  • Here two examples for that:
    Maps Example - use krpano as small map-window inside a krpano pano tour.
    Maps2 Example - use krpano as main map-viewer and another krpano viewer as pano/tour viewer for the hotspot locations.
  • These both maps examples are mainly made using the Javascript APIs and show also how to extend krpano with additional features - e.g. like in this case with full Latitude and Longitude coordinates (lat/lng) support.
    The Maps2 Example also shows how to use the Browsers Geo-Location API.
  • There is a new loadpanoimage() action to load pano images without the need for a xml or a xmlstring. Instead of an <image> string, the image element can be first constructed directly as object and then be loaded by calling loadpanoimage().
  • There an usage example (Javascript code):
    krpano.image.reset();
    krpano.image.hfov = 123.0;
    krpano.image.sphere = {
      url : "tile_%l_%v_%h.jpg",
      multires : "512,1024x512,2048x1024,4096x2048"
    };
    krpano.actions.loadpanoimage();
    krpano.view.hlookat = 12.3;
    krpano.view.vlookat = 4.5;
    krpano.view.fov = 60.0;
  • Using a transparent background for the viewer is fully supported now. In the previous versions especially the pano-blending between panos wasn't working when a transparent viewer background was used. Btw - a nice new usage case therefore is a background image (e.g. by using a layer with parent=BGLAYER) for 3D 'doll-house'-views.
  • The text in textfields or html-layers is now optionally selectable and can open the Browsers default contextmenu, e.g. for copying text.
  • By using parent="OVERLAY" there is now a new way for putting layers above all others and/or outside the area. Different to parent="STAGE" these layers are within the same context as other layers and so avoid problems with the browsers event flow (the order of events or when something is clickable or not).
  • As the Flash-output is typically not needed anymore today, it is disabled by default now. Flash itself is still optionally supported, but the version 1.20 will be the last one with it. In version 1.21 Flash will then be completely removed.
  • The WebVR wakelock for iOS was improved - it can automatically restart when interrupted and can reuse existing videos (from the pano or from hotspots) as wakelock-trigger.
  • Additionally there were several other smaller improvements and fixes.
  • For all details please have a look into the Release Notes here.

I hope you enjoy these new features and I wish you all a Merry Christmas and a Happy New Year!
See you then hopefully soon with the next version 1.21 ;-)

All the Best!
Klaus *smile*

spacerywirtualne

Professional

Posts: 1,106

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

2

Wednesday, December 22nd 2021, 5:29pm

*thumbup* *thumbsup* *thumbsup* *thumbsup*

Merry Christmas to you Klaus. Thank you for this update.


Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

This post has been edited 1 times, last edit by "spacerywirtualne" (Dec 22nd 2021, 5:59pm)


loki

Trainee

Posts: 72

Location: Berlin

  • Send private message

3

Wednesday, December 22nd 2021, 6:31pm

Great, thanks Klaus!
Looking forward to play with some of these new features.
Eg. capturefocus will allow for even more gamification! Probably could build Tetris with it *g*

Merry Christmas to all!

Tuur

Sage

Posts: 3,737

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

4

Wednesday, December 22nd 2021, 8:44pm

Thanks Klaus!
*love*
best wishes to you too!
Enough new things to play with.

Tuur *thumbsup*

Fernando

Intermediate

Posts: 318

Location: Habana, Cuba

Occupation: Architect, Photographer.

  • Send private message

5

Wednesday, December 22nd 2021, 9:45pm

Thanks!!

Merry Christmas to you too, Klaus!!, thanks very much for this update and next 1.21 version. You are the best!! *thumbsup*

6

Wednesday, December 22nd 2021, 10:24pm

Merry Christmas to you too! and to everyone, keep safe and healthy! *smile*

andrew22222

Intermediate

Posts: 385

Location: Australia

  • Send private message

7

Thursday, December 23rd 2021, 12:47am

Many thanks Klaus. Appreciate all the work you put into it. *thumbsup*

8

Thursday, December 23rd 2021, 1:22am

Merry Christmas to you Klaus and to all of you guys here :) *squint*

This post has been edited 1 times, last edit by "indexofrefraction" (Dec 23rd 2021, 9:06am)


panoyun

Intermediate

Posts: 226

Location: Somalia

  • Send private message

9

Thursday, December 23rd 2021, 4:20am

Thank you

Klaus

I wish you happy every day

San7

Professional

Posts: 594

Occupation: coding in krpano

  • Send private message

10

Thursday, December 23rd 2021, 5:06am

Great *thumbsup* ! Klaus, thanks for your work! Merry Christmas!

martyhr

Intermediate

Posts: 379

Location: CZ

  • Send private message

11

Thursday, December 23rd 2021, 10:38am

Merry Christmas and thank you for your Christmas present.

jeromebg

Professional

Posts: 1,113

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

12

Thursday, December 23rd 2021, 11:58am

Thanx Klaus, that new iframe/html/krpano feature for layers is very cool !
Merry Christmas!

danavon

Beginner

Posts: 6

Location: Catania

Occupation: Cultural Heritage

  • Send private message

13

Sunday, December 26th 2021, 10:05am

Thanks Klaus great update!!! Marry Cristmas for you and all KRPano lovers.
Danavon

14

Sunday, December 26th 2021, 4:08pm

Hi Klaus, thanks for the update!
A question regarding the recent Panotour pro update: With the new version pano-specific backgroundsounds only playing one time. If you come back to a previously visited pano the sound doesn't play any more. This was working fine with the Panotour pro update from KR Pano version

1.20.10, but not with 1.20.11. Is there a way to fix this?
Thanks a lot!

15

Sunday, December 26th 2021, 6:47pm

solution for backgroundsounds issue in 1.20.11

Hi Loro, Maurizio posted a fix a while back on the panotour/krpano facebook forum for an issue playing sound after being paused. I've updated to 1.20.11 & pasted the older theplaystoptoursoundscontent.tmpl and the background sound now loads after being paused. I've uploaded it to the panotour update page:
https://krpano.com/forum/wbb/index.php?p…=17064&pageNo=3

N.B. Since I uploaded the template I now realise that this doesn't fix the issue you are having with the sound only playing once, I'm having the same problem in 1.20.11. Sorry it's not helped.




Cheers,
Bob

This post has been edited 3 times, last edit by "bob1010" (Dec 26th 2021, 7:47pm)


16

Sunday, December 26th 2021, 7:20pm

Background sounds only playing once after 1.20.11 update - same issue for me

Hi Loro, I've just checked and I have the same issue with the background sounds only playing once after the 1.20.11 update. Using the older theplaystoptoursoundscontent.tmpl fixed an issue with the sound not playing after being muted, the sound only playing once is a new issue. Do you think you would possibly be able to take a look at this one in the New Year Klaus.
Cheers,
Rob

17

Monday, December 27th 2021, 12:16pm

%VIEWER% has a bad value

HI all
Playing with this great tool krpano1.20.11
Is seems %VIEWER% dos not have a correct value in this case

Source code

1
2
<script src="../viewer/krpano.js"></script>
<div id="pano" style="width:100%;height:100%;">	<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>	<script>		embedpano({xml:"Noel2021.xml", target:"pano", html5:"only", mobilescale:1.0, passQueryParameters:"startscene,startlookat"});	</script></div>



unless the swf param is specified

Source code

1
2
<script src="../viewer/krpano.js"></script>
<div id="pano" style="width:100%;height:100%;">	<noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>	<script>		embedpano({swf:"../viewer/krpano.swf", xml:"Noel2021.xml", target:"pano", html5:"only", mobilescale:1.0, passQueryParameters:"startscene,startlookat"});	</script></div>


Happy new year for everybody...

18

Monday, December 27th 2021, 2:17pm

Hi,

Is seems %VIEWER% dos not have a correct value
...
unless the swf param is specified

That's the intended/default behavior (in all versions, not just in 1.20.11).
Without given swf path, it's not possible to reliable determinate the path to the viewer files.

Even when in some browsers it would be possible to search through all currently defined <script> elements and look if the value in 'src' might the one for the krpano viewer (e.g. is named like 'krpano.js' or 'tour.js'), but there are too many case where this wouldn't work.

So instead therefore there is the possibility to use the basepath setting to the define the root/viewer path:
https://krpano.com/docu/html/#basepath

E.g.

Source code

1
embepdano({basepath:"../viewer/", ...});


Best regards,
Klaus

19

Monday, December 27th 2021, 6:48pm

Thank you for your answer and for your tools

20

Tuesday, December 28th 2021, 5:09pm

workaround for sound issue in panotour after 1.20.11 update

Hi Loro, I've just checked and I have the same issue with the background sounds only playing once after the 1.20.11 update. Using the older theplaystoptoursoundscontent.tmpl fixed an issue with the sound not playing after being muted, the sound only playing once is a new issue. Do you think you would possibly be able to take a look at this one in the New Year Klaus.
Cheers,
Rob

1.20.10 sound interface files still work with panotour, see this post for workaround;
https://krpano.com/forum/wbb/index.php?p…87021#post87021