Cross-domain panorama  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
lifecoder
New member
 
Topic author
Posts: 7
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 15, 2014 10:18 am
Info

Cross-domain panorama

by lifecoder » Mon Jun 23, 2014 2:10 pm

I need to implement remote storage of panoramas generated by Panotour. After upload on AWS S3 everything works fine except for maps - I can't see it.

I've tried to separate files, using KolorBootstrap from local host, and embedpano with remote source - it doesn't help either (the panorama itself works fine).

KolorBootstrap with debug = true show some (map?) plugin is not registered. For the source files Chrome shows the same files set for both.

Local load
Code: Select all
invokePluginFunction(panotourmaps, unselectCurrentMarker)
KolorBootstrap.js:190
invokePluginFunction: plugin instance doesn't exist KolorBootstrap.js:195
krpano is loaded KolorBootstrap.js:215
DynamicLoader : loadScript googlev3 KolorTools.debug.js:497
throw: KolorMap library not ready KolorBootstrap.js:450
tour is started KolorBootstrap.js:237
script info : googlev3 loaded ! KolorTools.debug.js:563
DynamicLoader : loadScript maps_mapstraction KolorTools.debug.js:497
Proprietary map API is loaded for panotourmaps KolorBootstrap.js:292
script info : maps_mapstraction loaded ! KolorTools.debug.js:563
DynamicLoader : loadScript maps_mapstraction_core KolorTools.debug.js:497
script info : maps_mapstraction_core loaded ! KolorTools.debug.js:563
DynamicLoader : loadScript maps_mapstraction_core_layer1 KolorTools.debug.js:497
throw: KolorMap library not ready KolorBootstrap.js:450
script info : maps_mapstraction_core_layer1 loaded ! KolorTools.debug.js:563
DynamicLoader : loadScript kolormap KolorTools.debug.js:497
script info : kolormap loaded ! KolorTools.debug.js:563
invokePluginFunction(panotourmaps, changeCurrentMarker) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
instance: [object Object] KolorBootstrap.js:491
activate the stored marker after init KolorBootstrap.js:725
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
6invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190



Remote load
Code: Select all
invokePluginFunction(panotourmaps, unselectCurrentMarker) KolorBootstrap.js:190
invokePluginFunction: plugin instance doesn't exist KolorBootstrap.js:195
krpano is loaded KolorBootstrap.js:215
DynamicLoader : loadScript googlev3 KolorTools.debug.js:497
script info : googlev3 loaded ! KolorTools.debug.js:563
DynamicLoader : loadScript maps_mapstraction KolorTools.debug.js:497
tour is started KolorBootstrap.js:237
script info : maps_mapstraction loaded ! KolorTools.debug.js:563
DynamicLoader : loadScript maps_mapstraction_core KolorTools.debug.js:497
Proprietary map API is loaded for panotourmaps KolorBootstrap.js:292
script info : maps_mapstraction_core loaded ! KolorTools.debug.js:563
DynamicLoader : loadScript maps_mapstraction_core_layer1 KolorTools.debug.js:497
script info : maps_mapstraction_core_layer1 loaded ! KolorTools.debug.js:563
DynamicLoader : loadScript kolormap KolorTools.debug.js:497
script info : kolormap loaded ! KolorTools.debug.js:563
invokePluginFunction(panotourmaps, changeCurrentMarker) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200
invokePluginFunction(panotourmaps, changeDirection) KolorBootstrap.js:190
invokePluginFunction: plugin isn't registered KolorBootstrap.js:200

no avatar
mediavets
Moderator
 
Posts: 16413
Likes: 2 posts
Liked in: 128 posts
Joined: Wed Nov 14, 2007 2:12 pm
Location: Isleham, Cambridgeshire, UK.
Info

Re: Cross-domain panorama

by mediavets » Mon Jun 23, 2014 2:17 pm

lifecoder wrote:I need to implement remote storage of panoramas generated by Panotour. After upload on AWS S3 everything works fine except for maps - I can't see it.


I guess you have seen this?:

http://www.autopano.net/wiki-en/action/ ... PUBLISHING

http://www.autopano.net/wiki-en/action/ ... ROSSDOMAIN

User avatar
benji33
Kolor Team
 
Posts: 5282
Likes: 41 posts
Liked in: 145 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Cross-domain panorama

by benji33 » Tue Jun 24, 2014 10:38 am

Is it possible to have a link on the AWS visit to have a look ? In private message if needed.

no avatar
lifecoder
New member
 
Topic author
Posts: 7
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 15, 2014 10:18 am
Info

Re: Cross-domain panorama

by lifecoder » Tue Jul 01, 2014 7:43 pm

Sorry for delay and thank you for suggestions.

I've read about crossdomain - links are changed, CORS works, and pano itself works as well. For the publish code - local (on-page) js used instead of iframe, not sure if this is vital.

Here are the test links:
http://poedu.com.ua/test/pano_local - local pano, map works, debug on
http://poedu.com.ua/test/pano_aws_local_kolor - s3 pano, local kolor bootstrap and tools, map dead, debug on
http://poedu.com.ua/test/pano_aws_full - all files from s3, map dead, debug off


Who is online

Users browsing this forum: No registered users and 2 guests