Hi Klaus,
I ran krpano-1.16.4/examples/virtual-tours/demotour-weingut/tour_html5.html from the Android stock browser...
- with the preview and tiles first hosted on the same server as tour_html5.html --> this works
- then hosted on a separate server (this is how production is setup for us and cannot be changed) --> this does not work
Again I noticed that Origin was not set on the request and the image server did return the following...
Access-Control-Allow-Credentials = false
Access-Control-Allow-Methods = *
Access-Control-Allow-Origin = *
I then implemented your recommended fix on the example code and it still doesn't work. Here are the Wireshark results...
GET /Test/demotour-weingut/kellerstueberl.tiles/mobile_f.jpg HTTP/1.1
Host: media.dev.everyscape.com
Connection: keep-alive
Referer:
http://kmullings-2012.mok3.com/test/krpa…tour_html5.html
User-Agent: Mozilla/5.0 (Linux; U; Android 4.0.3; en-us; Transformer TF101 Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
Accept-Encoding: gzip,deflate
Accept-Language: en-US
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7
Cookie: __utma=134267045.742250214.1335267801.1335270199.1335281116.3; __hstc=3909999.6ef2cdebdc77d634ff81ec3fd69be6ab.1351272534029.1351272534029.1351272534029.1; hsfirstvisit=http%3A%2F%2Fwww.qa.everyscape.com%2F||2012-10-26%2013%3A28%3A54; hubspotutk=6ef2cdebdc77d634ff81ec3fd69be6ab; __es_r=uid~13369059352116200000%7Cnv~8; __utma=70122885.1077086806.1369617283.1369617283.1371830025.2; __utmz=70122885.1369617283.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_prop70=March; s_prop71=12; track_link=%7B%22pageName%22%3A%22more_info_details%22%7D; s_nr=1373391831672; s_sq=%5B%5BB%5D%5D; s_ppv=more_info_details%2C100%2C34%2C1500; __es_r=uid~13369059352116200000%7Cnv~18; __es_r=uid~13369059352116200000%7Cnv~9
HTTP/1.1 200 OK
Content-Type: image/jpeg
Last-Modified: Mon, 17 Jun 2013 13:20:15 GMT
Accept-Ranges: bytes
ETag: "1b315f675d6bce1:0"
Server: Microsoft-IIS/7.0
ESID: cheerios
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Date: Fri, 19 Jul 2013 15:34:48 GMT
Content-Length: 17563
Could there be an issue with Krpano in regards to the Android stock browser? Please help
Thanks in advance,
Keno