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

Friday, June 6th 2014, 11:03pm

It works on desktop but not on phone/tablet

As always, I have problem that no one else have (tried google for 2 hours after posting here).
I made a tour just for the showcase for a client. It works brilliant on either desktop, tablet or mobile (link: http://imgs.zlatibor.com/pano/autokamp/tour.html )
And then I tried to embed this tour on a webpage. I did as it is stated in manual and tested it on desktop, it works flawlessly. And just as I wanted to end my working day I remembered to test it on mobile and tablet, and it just throw black screen with error "Fatal error: .....xml - loading failed! (0)"
Here is the link http://www.zlatibor.com/index2.php
Only thing I altered in XML was to add autorotate and nothing else.
So, any idea, anyone :)

2

Saturday, June 7th 2014, 11:11pm

I've been trying to solve this problem today and used some emulators on Net as well as Chrome emulation, and I asked some of mine friends to test this on their phones. Results are a bit odd. It seams that not all mobile devices are broken. Here is the list:
HTC Evo - works
iPhone 5 - broken
iPhone 4s - broken
iPad air - broken
Google Nexus 4 - broken
Google Nexus 5 - broken
Motorola Droid Razr HD - works
LG Optimus - works
Samsung S4 - broken
Now I am really out of ideas what can be wrong...

3

Thursday, June 12th 2014, 5:10pm

Hi,

you are trying to load files from an other domain - but that's not allowed in HTML5 by default!

Your server needs to send the 'CORS header' together with the files to allow this.

See here for more information:
http://enable-cors.org/server.html

Best regards,
Klaus

4

Thursday, June 12th 2014, 6:55pm

I will try that Klaus, but what is puzzling is why it is working on one mobile phone and not on the others.

5

Saturday, June 14th 2014, 5:07pm

Hi,

the browser were it works might be based on older browser software were CORS isn't implemented or not implemented correctly. Especially the stock Android browsers are often based on way outdated software.

Best regards,
Klaus