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.

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

1

Wednesday, February 23rd 2011, 12:14am

Can't load my pano on i-phone or i-pad !

Hi,

I've bought the i-phone license and it doesn't work.

The droplet makes the tablets and mobiles tiles, but when i try to load via an i-phone or i-pad, i get an error message "load error IO.."

I can see in the forum that a lot of people succeed. But i can't find a topic about the way to use this licence.
Do i have to do something more than upload the xml and the "krpanoiphone.js" on my server ?
I've tried to put the i-phone license in the main file, nothing changed.

Thanks. *smile*
Steph

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

2

Wednesday, February 23rd 2011, 1:13am

The easiest way is to copy your krpanoiphone.js and krpanoiphone.license.js into your tools folder.
By default the Make___ droplets embeds the full license in the tour.js and you do not need to copy any more licenses to your server.

Hans

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

3

Wednesday, February 23rd 2011, 1:33am

Hi HansNyb,

Thanks for your suggestion.
I did this, it's even the first thing i've done of course. As i said the droplet works perfectly. I've got the tablets and mobiles tiles.
But it doesn't work while it works great on line!

Thanks. *smile*
Steph

4

Wednesday, February 23rd 2011, 3:23am

What tool did you use?
What files did you upload to the server?

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

5

Wednesday, February 23rd 2011, 9:22am

Hi Jarredja,

I used the MAKE VTOUR (MULTIRES). It gave me all the tiles i needed (including "tablet" and "mobile").
I've uploaded the whole file. (i've even tried to add the krpanoiphone.js and the license in the main file on the server)


Anyway, it works great on line, except for the i-phone and i-pad. May be something more to write in the xml.?

Thanks. *smile*
Steph

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

6

Wednesday, February 23rd 2011, 11:46am

What about giving us the link to examine.
Also what version did you use. Is it the standard download or have you updated with some of the alpha-beta downloads.

Hans

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

7

Wednesday, February 23rd 2011, 12:28pm

Hi Hans,

It wasn't on the server anymore. Reupload now.

Here it is :

http://www.humanfoto.fr/C/tour.html

I used this version : krpanotools-1.0.8.12-win64-2010-11-09
No alpha-beta.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
			<mobile>
				<left  url="Castelsardo.tiles/mobile_l.jpg" />
				<front url="Castelsardo.tiles/mobile_f.jpg" />
				<right url="Castelsardo.tiles/mobile_r.jpg" />
				<back  url="Castelsardo.tiles/mobile_b.jpg" />
				<up    url="Castelsardo.tiles/mobile_u.jpg" />
				<down  url="Castelsardo.tiles/mobile_d.jpg" />
			</mobile>
			<tablet>
				<left  url="Castelsardo.tiles/tablet_l.jpg" />
				<front url="Castelsardo.tiles/tablet_f.jpg" />
				<right url="Castelsardo.tiles/tablet_r.jpg" />
				<back  url="Castelsardo.tiles/tablet_b.jpg" />
				<up    url="Castelsardo.tiles/tablet_u.jpg" />
				<down  url="Castelsardo.tiles/tablet_d.jpg" />
			</tablet>
		</image>


Thanks for your time. *smile*
Steph

This post has been edited 3 times, last edit by "esys" (Feb 27th 2011, 5:24am)


HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

8

Wednesday, February 23rd 2011, 1:01pm

Safari webinspector report an construct error on line 205.

Its this. As you can see you have no space between the codes.
<plugin name="panoaide"url="panoaide.png" align="center" visible="false"/>


There is also one on the next line
<autorotate enabled="false"waittime="1.0"accel="0.9"speed="30" horizon="0" tofov="90"/>

Flash is not very sensitive to this but HTML5 is just reacting on the smallest errors.

Safari only reports the first error it may very well be more so you have to check again if it does not help after correcting the first.

Hans

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

9

Wednesday, February 23rd 2011, 1:10pm

Thanks Hans.

That's a precise answer.

I've copied the code which was given with the plugin "navigation" i've bought. I didn't check the code thoroughly. Didn't see it.

I've just updated the xml.
If you have time to test.. Thanks. *smile* (don't have an iphone in my entourage).
Steph

10

Wednesday, February 23rd 2011, 3:57pm

The iphone browser shows an error in tour.xml.

In your plugin, copied below, you have two "onloaded" statements. Delete the first one since the second has the command you probably want to keep.

Also, after you have made this change try viewing your xml in a browser. If it doesn't show any errors it should be ok. Otherwise keep fixing until the errors are gone.


<plugin name="Texte-Chateau" url="plugins/textfield.swf"
align="top"
keep="false"
visible="false"
zorder="3"
onloaded=""
edge=""
width="1400"
height="80"
x="" y="3"
alpha="0.0"
onloaded="tween(plugin[Texte-Chateau].alpha, 0.9, 2);"
effect="dropshadow(5,45,0x000000,3,1);"
html="data:htmldata3"
background="false"
borderwidth=""
bordercolor=""
backgroundcolor=""
selectable="false"
/>

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

11

Wednesday, February 23rd 2011, 4:18pm

e in my entourage).


You do not need an iPhone. Just load the xml directly in Safari and you will get an error report.

You should enable the Developer menu in the settings. At the bottom of the Advanced settings just enable it.

To find out where line xxx is choose the Webinspector in the menu and under Resources choose the xml.
It shows the line numbers.

Hans

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

12

Thursday, February 24th 2011, 2:36am

Hi,

The iphone browser shows an error in tour.xml.

Thanks to light this mistake (one more).

Quoted

Also, after you have made this change try viewing your xml in a browser. If it doesn't show any errors it should be ok. Otherwise keep fixing until the errors are gone.

It worked before despite the mistakes, i've got problems only with the i-phone.

Quoted

HansNyb said : Flash is not very sensitive to this but HTML5 is just reacting on the smallest errors.
*smile*

You do not need an iPhone. Just load the xml directly in Safari and you will get an error report.
Hans

Yes i need because i-phone doesn't support flash, is it ? and load the "mobile" tiles. To be sure it works and it load, also, the "alt" plugins and hotspots on i-phone, i need to test with one.

Quoted

You should enable the Developer menu in the settings. At the bottom of the Advanced settings just enable it.

What's that ? Is it in the i-phone menu ?

Quoted

To find out where line xxx is choose the Webinspector in the menu and under Resources choose the xml.
It shows the line numbers.

Thanks, i wanted to ask this to you Hans. *smile*

Thanks everybody, i keep walking and come back to you. *squint*
Steph

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

13

Thursday, February 24th 2011, 9:37am

What's that ? Is it in the i-phone menu ?


This is in the standard desktop Safari where you can test most functions for iPhone and iPad.

JUst enable this developer menu and you can test how most things work. Ii will not be 100% the same but you can at least find out if there are xml errors.

Hans

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

14

Thursday, February 24th 2011, 11:01pm

Hi,

Thanks for the precision. I found the menu and i wanted to try to find, via web inspector, some mistakes i've made on purpose in my xml.
Here the code, no space as i've made before.

Source code

1
	<autorotate enabled="false"waittime="1.0"accel="0.9"speed="30"  horizon="0" tofov="90"/>

I can't find the number of the line or the error itself, as Hans said.

Quoted

Safari webinspector report an construct error on line 205.
Its this. As you can see you have no space between the codes.
<plugin name="panoaide"url="panoaide.png" align="center" visible="false"/>

Here the capture (it's safari on my PC!) :


Thanks for your patience. *smile*
Steph

15

Friday, February 25th 2011, 1:06pm

Hi, all

same trouble at home, but I find a bug with the radar.swf

leave the code for the radar and it's work ;-)

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

16

Friday, February 25th 2011, 1:36pm

Hi Job1,

Are you from troissixzero ?

If so we can phone. I've bought the "googlemaps" and the nav. pad on this site.
Could you be more precise.?

What's this bug you're talking about ? (location). How did you find it ? I-phone doesn't support flash plug-in anyway, is it ?

What do you mean "leave the code and it works" ? I need the radar code when you load the Tour from a PC.!
Did you test without this code ? Worked ?

Thanks. *smile*
Steph

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

17

Sunday, February 27th 2011, 4:20pm

Google map link problem on i-phone

Hi,

My panos work on i-phone. At least the basics functions.
I've a problem with the google map link. Safari inspector report an error, the only one, (expecting a ;) to this line.
I've tried those codes :

Source code

1
2
3
4
5
6
7
onclick="openurl(http://maps.google.fr/maps?hl=fr&ie=UTF8&ll=41.236447,9.193819&s
                    pn=0.010085,0.013497&t=h&z=16); target(blank);"

or this

"openurl(http://maps.google.fr/maps?hl=fr&ie=UTF8&ll=41.236447,9.
193819&spn=0.010085,0.013497&t=h&z=16,_blank);"


Still the same.

Any suggestions ?
Thanks. *smile*

Steph.http://www.humanfoto.fr/C/tour.html
Steph

This post has been edited 1 times, last edit by "esys" (Mar 3rd 2011, 2:51am)


18

Friday, March 4th 2011, 9:47am

Hi,

you would need to replace the & characters with &amp;
then it should work,

best regards,
Klaus

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

19

Friday, March 4th 2011, 1:04pm

Thanks Klaus but i don't really understand what's "&amp" ?

Sorry i'm french Klaus! ;-)
Steph

20

Friday, March 4th 2011, 1:52pm

Hi,

the code

Source code

1
&amp;
is the html/xml code for the & character,
the xml parser doesn't accepts just a &, it would need &amp; instead,

so simply replace all & characters with &amp;

e.g.

Quoted

openurl(http://maps.google.fr/maps?hl=fr&amp;ie=UTF8&amp;ll=41.236447,9.
193819&amp;spn=0.010085,0.013497&amp;t=h&amp;z=16,_blank);
best regards,
Klaus

Similar threads