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 :)
It works on desktop but not on phone/tablet
-
-
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... -
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.htmlBest regards,
Klaus -
I will try that Klaus, but what is puzzling is why it is working on one mobile phone and not on the others.
-
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
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!