Sie sind nicht angemeldet.

1

Mittwoch, 8. Februar 2012, 11:45

Tablet files instead of mobile files loading on iPhone

Hi,

Why do the tablet cube faces load on my iPhone instead of mobile ones ?
This way, the loading stops after the down face is loaded, and the error message comes saying that the other cube faces loading failed.
I've looked inside html and xml files and all seems to be ok (I use gyro.js plugin)

(KRpanoJS 1.0.8.14 - iPhone4S - IOS 5.01 - Safari5.1)

Thanks for your help

Phil

HansNyb

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

2

Mittwoch, 8. Februar 2012, 11:53

From documentation.
On the iPhone 3G/3GS or iPod Touch 3 the <mobile> tag will be loaded and on the iPad and the iPhone 4 the <tablet> tag or if that doesn't exists also then the <mobile> tag.

That should not be a problem. iPhone 4 has more memory than iPad1 so if your panos does not load you may have some other problem.

Hans

3

Donnerstag, 9. Februar 2012, 00:12

Hi Hans,

Thanks for your response.
You're right; I didn't read the documentation enough.
However, the problem stays : the tablet cube faces fail to load. I've spent this afternoon trying to find why but I didn't succeeded.
I've tried with 3 other panoramas, with many combinations, replaced swf, js, html files many times... but no result.
I've tried with different user agent in desktop Safari, but unfortunately, choosing iPhone/iPad loads normal faces, instead of intended tablet ones.
here is my xml :

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<krpano version="1.0.8.14" >

<plugin name="gyro" url="gyro.js"  keep="true" enabled="true" camroll="true" friction="0.5" velastic="0.2" />

	<view hlookat="0" vlookat="-35" fovtype="MFOV" fov="90" />

	<preview url="pano/preview.jpg" />
	<image>
		<cube url="pano/pano_%s.jpg" />
		<mobile>
			<cube url="pano/mobile_%s.jpg" />
		</mobile>
		<tablet>
			<cube url="pano/tablet_%s.jpg" />
		</tablet>
	</image>
</krpano>

Only up and down (or down ...or none) cube faces load.
Changed also ftp...
It seems that gyro.js stops working after loading 1 or 2 (sometimes 3) cube faces.
After multiple loadings (20-30), I can see the entire panorama, but if I clear the iPhone cache...nothing loads again.
Maybe you'll have more luck than me at :
http://www.via-caesar.fr/test/pano.html
or
http://www.via-caesar.fr/test/pano2.html

Any idea?

Thanks for your help

Philippe

4

Donnerstag, 9. Februar 2012, 00:50

Both links opened quickly and completely on my iPhone 4

5

Donnerstag, 9. Februar 2012, 09:16

Hi Jarredja,

Thanks for your try.
So I guess it may be an internet access provider problem.
I'll look into this today.

Thanks for your help

Philippe

esys

Fortgeschrittener

Beiträge: 267

Wohnort: Balazé France

Beruf: photographer

  • Nachricht senden

6

Freitag, 10. Februar 2012, 16:06

Hi,

Yes me too. Both of them opened normally and worked well (iphone 4). *thumbup*
Steph