Sie sind nicht angemeldet.

obel

Anfänger

  • »obel« ist der Autor dieses Themas

Beiträge: 18

Wohnort: Denmark

Beruf: Engineering stuff ...

  • Nachricht senden

1

Sonntag, 22. Dezember 2013, 22:38

1.17 not working the way 1.17 (build 2013-10-28) did!

I'm playing around with the new 1.17 and I have encountered a problem in IE11.

I am testing with this panorama:

http://www.coo.dk/panoramas/lyngbykirke/

The xml file and the tiles are hosted at tiles.panographica.dk so I suspect a cross site scripting problem.

When I use the released 1.17 (build 2013-12-19) in IE11, I get "FATAL ERROR: http://tiles.panographica.dk/panoramas/c…ngbykirke01.xml - loading failed! (Error: Permission denied)". Chrome & FF works fine. Now if I downgrade the js file to 1.17 (build 2013-10-28) then the problem is gone and the pano displays in all browsers.

Is this a bug in krpano? Is this a bug in my code? Please help.

Kind Regards,

Obel

2

Montag, 23. Dezember 2013, 09:07

Hi,

Can you please post a link to the not working example?
The link in your thread (with the new version) is working fine for me...

Best regards,
Klaus

obel

Anfänger

  • »obel« ist der Autor dieses Themas

Beiträge: 18

Wohnort: Denmark

Beruf: Engineering stuff ...

  • Nachricht senden

3

Montag, 23. Dezember 2013, 11:09

Hmmm, that's strange.

The link from the first post is the one that doesn't work for me. I have tested it on two additional computers and on one more internet connection. I have cleared caches and disabled and reenabled all browser plugins to see if they interfered. Still nothing. It just doesn't work in Internet Explorer 11 for me. It works fine in all other browsers I have tested.

Forum users, does http://www.coo.dk/panoramas/lyngbykirke/ work for you in Internet Explorer 11?

I'll keep investigating.

Best regards & merry christmas

Obel

4

Montag, 23. Dezember 2013, 11:13

No, in my IE11 I get ..."xml: error loading"

marty

obel

Anfänger

  • »obel« ist der Autor dieses Themas

Beiträge: 18

Wohnort: Denmark

Beruf: Engineering stuff ...

  • Nachricht senden

5

Montag, 23. Dezember 2013, 11:31

Hi again

Just for comparison, http://www.coo.dk/panoramas/lyngbykirke2/ uses the same xml file and same tiles but with the embedding script from 1.16.9 and the HTML5 Viewer being 1.17 (build 2013-10-28). Works fine in IE11.

What am I doing wrong?

Best regards & merry christmas



Obel

6

Montag, 23. Dezember 2013, 11:50

Hi,

sorry, but I've missed that part that this is a IE11-only problem and you're right, it's not working in IE11.

I think I know the reason - the new version uses an different (and IE-only) API for loading the xml files in the IE browser. The other API allows loading local xml files in IE (see the 'New: Support loading local xml files in IE10 / IE11' note in the release notes), but as it seems it doesn't support 'CORS' when loading xml files from other domains.

That will be corrected in the next release, then the special IE-only API will be used only for local xml files and the standard one for all other cases, then it will work in IE11 again.

Best regards,
Klaus

7

Donnerstag, 9. Januar 2014, 15:50

Thank God I saw this. I was going insane the past 2 weeks trying to figure out on my end why Krpano 1.17 PR was not reading CORS cross-domain data from Amazon S3.

I spend SO many hours trying to diagnose this and the answer was here the whole time.

Just an FYI, this current issue extends to all incarnations of IE11.

I can confirm that all Microsoft Surface tablets cannot read Krpano 1.17PR when the tiles are called on from an external storage domain.

But this is all a moot point soon I guess when the next release arrives.

8

Freitag, 10. Januar 2014, 11:39

Hi,

there is a new version out where this problem is fixed:
krpano 1.17 (Pre Release)

Best regards,
Klaus

obel

Anfänger

  • »obel« ist der Autor dieses Themas

Beiträge: 18

Wohnort: Denmark

Beruf: Engineering stuff ...

  • Nachricht senden

9

Freitag, 10. Januar 2014, 20:57

Solved

Hi again,

just retested with 1.17.pr and 1.17.pr2 side by side. 1.17.pr2 solved my problem.

Brilliant work, as always!

Best regards,
Obel

10

Mittwoch, 15. Januar 2014, 15:55

This is very odd.

I'm using 1.17pr2 now and the problem still persists in IE11 + HTML5/webgl loading from Amazon S3/CORS. Flash + CORS + IE11 working fine of course. Ipad/Iphone + CORS is working fine. Just the bloody IE11 + CORS + WebGL.

Perhaps still something on my end in .htaacess or CORS rules? What declaration statements, obel, are you using?

Something similar to...


Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header set Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"

11

Mittwoch, 15. Januar 2014, 17:48

An update regarding IE11 + 1.17pr2 + WebGL...

I found it will load the tiles in the XML as long as an absolute path is used to the off-site server.

It will not load the files with a relative path at this point and will not rely on the .htaacess to indicate the off-site location.

However, all other browsers and the Flash player has no problem with not using a hard-link absolute path.