You are not logged in.

1

Thursday, July 9th 2015, 10:01am

How to configure for use with AWS S3?

Directory Structure and Domain

website
  • index.html (file load panoram)
  • Panorama.js
  • sounds
  • lib
  • graphics

AWS s3
  • floorplan
  • spots
  • img_*(files img for panorams - tablet,mobile,html5)
  • Panorama.xml
  • Panorama_core.xml
  • Panorama_messages_en.xml
  • Panorama_skin.xml

init embedpano

Source code

1
2
3
4
5
embedpano({
					xml:"http://panorama.yaltagc.ru/panorama/1/Panorama.xml"
					,target:"panoDIV"					,passQueryParameters:true
					,html5:"only"					,basepath:'http://gcity.burogs.com/panorama/'					,consolelog:true
					});


I can not understand how to write the right path to separate the panorama of the library files.

This post has been edited 1 times, last edit by "maxrip" (Jul 9th 2015, 3:05pm)


2

Tuesday, July 14th 2015, 10:23am

Hi,

such mixed origins are always a problem.
For krpano itself the folder structure doesn't matter as long as all paths were set correctly, but the browsers itself might complain about some cases. One very important thing here is to enable CORS on the server.

Maybe better put the whole tour on the external domain and use a simple iframe...

Best regards,
Klaus

3

Sunday, July 19th 2015, 12:41pm

del.
Update
I have everything turned out the way it turns out, many were written in Panorama_skin.xml.