You are not logged in.

opticalfx

Trainee

  • "opticalfx" started this thread

Posts: 62

Location: Peterborough, UK

Occupation: Virtual Tour Photographer

  • Send private message

1

Tuesday, February 7th 2012, 5:55pm

Scene no loading on iPad

Hi guys, this is my first post on here! I have finally taken the plunge and moved over from FPP but it's taking me a while to understand the changes. I'll get there.

On this first tour http://www.opticalfx.co.uk/test/ I have used 4 scenes from the same building but dropped in the 5th scene from an old project I did. The pano size on this 5th scene is smaller but it shows ok on my Mac. It doesnt show on my iPad though and locks up the tour. I dont know if the different sizes have thrown it out or whether I have some error in my code. Can anyone please offer me some help?

http://www.opticalfx.co.uk/test/tour.xml
http://www.opticalfx.co.uk/test/buttons.xml

Thanks,

Adrian Salisbury
Optical FX
Many thanks,

Adrian Salisbury, UK
Smart Virtual Tours

opticalfx

Trainee

  • "opticalfx" started this thread

Posts: 62

Location: Peterborough, UK

Occupation: Virtual Tour Photographer

  • Send private message

2

Monday, February 13th 2012, 4:07pm

..Anyone?!? *sad*
Many thanks,

Adrian Salisbury, UK
Smart Virtual Tours

3

Monday, February 13th 2012, 8:01pm

Hi,

it's the hotspot with the "number" as name in that scene:

Source code

1
<hotspot name="5-1" ...


but numbers as names are not allowed, see here:
http://krpano.com/docu/xml/#name-notes

this crashes the viewer (such errors can be seen in the Javascript error log) because the viewer tries to access a 5. hotspot, which doesn't exists,

in the viewer code there are not checks for such wrong hotspots at all places, but I will try to add them in the next release, then the viewer will not crash anymore, but for a correct working the xml itself should be fixed too and a hotspot name with a alphabetic character at the beginning should be used,

best regards,
Klaus

opticalfx

Trainee

  • "opticalfx" started this thread

Posts: 62

Location: Peterborough, UK

Occupation: Virtual Tour Photographer

  • Send private message

4

Tuesday, February 14th 2012, 5:11pm

So simple when you know how ;-)

Thank you so much, to my embarrassment I wasted nearly a day trying to work that out.

Loving KRPano by the way, just trying to improve my coding skills.

Cheers,

Adrian
Many thanks,

Adrian Salisbury, UK
Smart Virtual Tours