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

    Code
    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.

    Einmal editiert, zuletzt von maxrip (9. Juli 2015 um 15:05)

  • 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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!