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

Tuesday, February 1st 2011, 10:49am

1.0.8.14 pre-release / release-candidate

Hi,

there were a lot questions/requests about the xml handling for several devices,
so I have added the possibility to use the "devices" attribute for every xml tag (also the <include> tag),

the xml parser works now like this:
  • when a xml tag has a "devices" attribute, it will check that, and if the device doesn't fit, it will skip the whole xml tag and all sub tags of it,
  • so it's possible to define the same xml tag two times (or more) for two different devices,
  • with it it's possible to make a <include> only for a certain device,
  • to comparison - in the old version always all xml tags were parsed and later when building the real plugin/hotspot display elements the devices setting of them was checked

and with a small trick (by defining a sub <krpano> tag) it's possible to use only one xml file with completely different contents for each device,
e.g.

Source code

1
2
3
4
5
6
7
8
<krpano>
  <krpano devices="flash" onstart="showlog(); trace(Flash);">
...
  </krpano>
  <krpano devices="html5" onstart="showlog(); trace(HTML5);">
 ...
   </krpano>
 </krpano>


get the pre-release here for testing:
http://krpano.com/download/beta/

best regards,
Klaus

2

Tuesday, February 1st 2011, 12:33pm

Thank's Klaus *thumbsup*

VN2009

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

3

Tuesday, February 1st 2011, 3:06pm

interesting. this will open up some new doors. the only thing I realyl wish we could do is use the include tags dynamically. se we could add new xmls only when needed. with that PHP would not be so neccesary for very large tours. cant wait to test.

bulp

Intermediate

Posts: 390

Location: Malaysia

  • Send private message

4

Tuesday, February 1st 2011, 3:10pm

Thank You Klaus!!!!

HansNyb

Professional

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

5

Thursday, February 3rd 2011, 9:28pm

Sorry but the devices settings does not work.
'
Both the keepview and the problem with the tiles are OK but something is wrong with the devices.

I updated panoramas.dk this morning with it but tonight someone told me that he could not zoom I discovered that my zoom buttons was gone also on anothe r page the fullscreen button did not show up as I had 2 sets of them for different devices.

'I had to change panoramas.dk back to 1 set for all devices.

This was the code I had before that does not work with the update.

<plugin zorder="1" name="in" scale="0.7" devices="desktop|iphone|ipad" keep="true" align="bottomright" x="15" y="15" visible="true" alpha="0.8" url="../skin/plus1.png" ondown="set(fov_moveforce,-1);" onup="set(fov_moveforce,0);" />
<plugin zorder="1" name="out" scale="0.7" devices="desktop|iphone|ipad" keep="true" align="bottomright" x="15" y="65" visible="true" alpha="0.8" url="../skin/minus1.png" ondown="set(fov_moveforce,+1);" onup="set(fov_moveforce,0);" />

<plugin zorder="1" name="in-a" keep="true" devices="android" align="bottomright" x="10" y="15" visible="true" alpha="0.8" url="../skin/plus1.png" ondown="set(control.fovspeed, 3); set(fov_moveforce,-1);" onup="set(fov_moveforce,0);" />
<plugin zorder="1" name="out-a" keep="true" devices="android" align="bottomright" x="10" y="70" visible="true" alpha="0.8" url="../skin/minus1.png" ondown="set(control.fovspeed,3);set(fov_moveforce,+1);" onup="set(fov_moveforce,0);" />

Hans

6

Wednesday, February 9th 2011, 2:26pm

Hi,
Sorry but the devices settings does not work.
the problem with the devices setting on Android on Desktop is fixed now,
here the updated viewer:
http://krpano.com/download/beta/#2011-02-09

best regards,
Klaus

zsolt

Beginner

Posts: 13

Location: Budapest

Occupation: CEO

  • Send private message

7

Thursday, February 10th 2011, 2:40pm

Hi Klaus,

There is some problem with the new HTML5 version.

When i try to use my "load" action with parameter, the parameter is not working :(

Source code

1
2
3
4
5
6
load(pano1);

and in the load action:

txtadd(loadpano_name, %1,'.xml');
loadpano(get(loadpano_name),null,KEEPBASE,BLEND(2));


I have this errormessage:

"%1.xml - loading or parsing failed!"


There was no problem with it before.

Thx

zsolt

Beginner

Posts: 13

Location: Budapest

Occupation: CEO

  • Send private message

8

Thursday, February 10th 2011, 3:24pm

Hi,

I just found something again :(

The encryption is also not working with the html5, everything is working fine when the files are not encrypted, but after the encryption the "xml parsing failed" error is coming.

Is there any solution for this?

Regrets.

9

Monday, February 14th 2011, 2:18pm

Hi,
I have this errormessage:

"%1.xml - loading or parsing failed!"
right, I can confirm,
in the latest beta release from 2011-02-09 there is a bug with the actions parameters, they get not resolved,
that will be fixed in the next release,


The encryption is also not working with the html5, everything is working fine when the files are not encrypted, but after the encryption the "xml parsing failed" error is coming.
the krpano file encryption is limited to Flash at the moment,

best regards,
Klaus

zsolt

Beginner

Posts: 13

Location: Budapest

Occupation: CEO

  • Send private message

10

Monday, February 14th 2011, 7:23pm

Hi,
I have this errormessage:

"%1.xml - loading or parsing failed!"
right, I can confirm,
in the latest beta release from 2011-02-09 there is a bug with the actions parameters, they get not resolved,
that will be fixed in the next release,


The encryption is also not working with the html5, everything is working fine when the files are not encrypted, but after the encryption the "xml parsing failed" error is coming.
the krpano file encryption is limited to Flash at the moment,

best regards,
Klaus

Zephyr

Professional

Posts: 1,003

Location: Netherlands

Occupation: Web developer

  • Send private message

11

Monday, February 14th 2011, 10:08pm

Thanks Klaus :)

I would recommend people to create device specific includes.

<krpano>
<include url="android.xml" devices="android" />
<include url="iphone.xml" devices="iphone" />
</krpano>

and use this as first xml to load.

this way, you dont have to alter all your old code, thinking if it should be android or iphone or creating a big messy xml with plugins double defined. You dont even have to put devices tag on other xml attributes, just use the includes :)

HansNyb

Professional

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

12

Friday, February 18th 2011, 2:26pm

Hi Klaus,

There is some problem with the new HTML5 version.

When i try to use my "load" action with parameter, the parameter is not working :(

Source code

1
2
3
4
5
6
load(pano1);

and in the load action:

txtadd(loadpano_name, %1,'.xml');
loadpano(get(loadpano_name),null,KEEPBASE,BLEND(2));


I have this errormessage:

"%1.xml - loading or parsing failed!"


There was no problem with it before.

Thx



Well that may explain it.

I have been strugling for 3 hours with converting Jooks New Years panos which has 9 panos.
It looks like just deleting all actions and also all scenes except one makes it work.

But I do not understand what the specific action is that causes it.
This one works perfect with several actions and 2 panos.
http://www.panoramas.dk/2010/srebrenica-15years.html

I use exactly the same ones for Jooks panos

When do we get an update?

Hans

13

Saturday, February 19th 2011, 3:12pm

Hi,
Well that may explain it.

I have been strugling for 3 hours with converting Jooks New Years panos which has 9 panos.
It looks like just deleting all actions and also all scenes except one makes it work.
that bug affects only the action parameters (%1,%2,...) inside an action,


When do we get an update?
I hope I can release the next pre-release next week,

best regards,
Klaus

HansNyb

Professional

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

14

Monday, February 21st 2011, 10:04pm

I am sorry Klaus but this version is not working at all for devices.
devices="desktop" does not work at all. Also I get no response for android.

I have tried to setup different navigation for Android and tried plugin 1 as desktop and plugin 2 as iPad.
That means that the desktop shows nothing and iPad works correct.

With Plugin 1 as flash and 2 as iPad they work correct. Also HTML5 works correct.

If I try 1 as desktop and 2 as iPad|android the desktop shows nothing the android shows the desktop version and the iPad shows the iPad version.
It makes the devices completely unusable as what we need is special versions for mobiles.

I tried setting No2 as ipad|mobile but then nothing showed up on the android.

Hans

15

Monday, February 21st 2011, 10:12pm

Hi Hans,

which version do you use?

the Flash viewer from the build 2011-02-01 has a bug with desktop and android,
but this bug was fixed in the build from 2011-02-09, but there, there is a bug with % parameters
inside the actions in the krpano JS viewer,

see here:
http://krpano.com/download/beta/

best regards,
Klaus

HansNyb

Professional

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

16

Tuesday, February 22nd 2011, 10:33am

Hi Hans,

which version do you use?

the Flash viewer from the build 2011-02-01 has a bug with desktop and android,
but this bug was fixed in the build from 2011-02-09, but there, there is a bug with % parameters
inside the actions in the krpano JS viewer,

see here:
http://krpano.com/download/beta/

best regards,
Klaus


Yes I discovered that I replaced the latest with the one from 2011-02-01
I can see why now as the last version does not work at all on iPad with the thumbs.
They just do not open.
Why did you not say that the %1 thing was affecting that?

When do we get an update.

Hans

17

Wednesday, February 23rd 2011, 5:34pm

Hi,

there is a new snapshot of the 1.0.8.14 version available:
http://krpano.com/download/beta/#2011-02-23

best regards,
Klaus

zsolt

Beginner

Posts: 13

Location: Budapest

Occupation: CEO

  • Send private message

18

Thursday, February 24th 2011, 12:48pm

Thank you!

19

Monday, April 4th 2011, 7:42pm

Hi,

there is a new pre-release of the 1.0.8.14 version available:

http://krpano.com/download/beta/#2011-04-04

there are a lot of small and big fixes and news,
please see the beta page for details,

this is a Release Candidate version and should be the last pre-release,
I'm now working on finishing the updated documentations and examples and doing the last tests,
and when that is successfully done the new full packages will be released,

best regards,
Klaus

20

Tuesday, April 5th 2011, 8:45am

GREAT! Thanks Klaus. i'll dive into it ;-)

i know that you are working on the updated documentaiton for this - but could you give me a hint how to use custom spot images in the new googlemaps plugin?

that would be great!

Thanks again *thumbsup*

christian