I would like to have two panoramas side by side in the same window (eg. summer/winter)...
An idea of how to achieve this?
Thanks a lot to help me
[Solved] Play two panoramas simultaneously
-
-
Hi,
Download Examples from krPano and have a look on
examples/javascript-interface/js-sync/syncscreen.html
Two panoramas syncronised on same HTML page.
-
Thanks jpdeglet69
I knew that those examples existed, but I could not find its
-
Hi,
Impossible to get the two panoramas moving simultaneously
Each one move, yes, but not together
An idea? -
Hi,
are you testing locally?
if yes, the Flashplayer security settings need to be changed (the syncing is done via Javascript and the Javascript interface of the Flashplayer is locally only available after adding the folder of the swf to the trusted folders),see here for details:
https://krpano.com/docu/localusage/best regards,
Klaus -
Hi Klaus,
No, it is on the web and all is good exept the panoramas don't move together...
"Here's the trouble "Best regards
Laurent
-
Hi,
Can anybody tell me what's going wrong?
I repeat exactly the example of KRPano (exept the width & height) and...Thanks a lot
-
Hi boubou,
Are you sure to have managed in your two pano.xml
<events onmousedown="set(syncother,true); events.onviewchange();"
onmousewheel="events.onmousedown();"
onviewchange="if(syncother, js( sync_1to2() ) );"
/> -
Hi jpdeglet69
Yes, you can have the source of the html page and here's the code of one xml (the second is the same exept the "<area>"
Code
Display More<krpano syncother="true" onstart="ifnot(haveexternalinterface, error('ExternalInterface (Javascript Interface) not avaiable! check your Flashplayer security settings see: http://krpano.com/docu/localaccess/'));"> <panoview h="0" v="0" fov="90"/> <view fisheye="0" limitview="range" hlookatmin="-180" hlookatmax="180" vlookatmin="-90" vlookatmax="90" fovmin="60" fovmax="110" fov="90" hlookat="0" vlookat="0"/> <progress showload="none" showwait="none"/> <preview url="pano1data/pano10/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" details="16"/> <image type="CUBE" multires="true" tilesize="955" baseindex="0"> <level tiledimagewidth="1910" tiledimageheight="1910"> <left url="pano1data/pano10/3/1/%v_%u.jpg"/> <front url="pano1data/pano10/0/1/%v_%u.jpg"/> <right url="pano1data/pano10/1/1/%v_%u.jpg"/> <back url="pano1data/pano10/2/1/%v_%u.jpg"/> <up url="pano1data/pano10/4/1/%v_%u.jpg"/> <down url="pano1data/pano10/5/1/%v_%u.jpg"/> </level> <level tiledimagewidth="955" tiledimageheight="955"> <left url="pano1data/pano10/3/0/%v_%u.jpg"/> <front url="pano1data/pano10/0/0/%v_%u.jpg"/> <right url="pano1data/pano10/1/0/%v_%u.jpg"/> <back url="pano1data/pano10/2/0/%v_%u.jpg"/> <up url="pano1data/pano10/4/0/%v_%u.jpg"/> <down url="pano1data/pano10/5/0/%v_%u.jpg"/> </level> </image> <area x="0%" width="200%"/> <events onmousedown="set(syncother,true); events.onviewchange();" onmousewheel="events.onmousedown();" onviewchange="if(syncother, js( sync_1to2() ) );"/> </krpano>
-
Strange Laurent,
Following the Klaus's example code,
I do a similar test with my own panoramasIt's running
-
As you say, stange
-
Hi,
No, it is on the web and all is good exept the panoramas don't move together...
"Here's the trouble "try to use the original krpano.swf file,
the swf files from Panotour have the Javascript Interface disabled by default (like when checking the Disable Javascript Interface option in the kprotect Tool),best regards,
Klaus -
Thanks a lot Klaus!!!
My first good night since 3 days
Best regards,
Laurent
-
-
Hi,
Very funny
It is also possible to get a window with a magnifying glass in the middle -
Hi,
Very funny
It is also possible to get a window with a magnifying glass in the middle -
the swf files from Panotour have the Javascript Interface disabled by default (like when checking the Disable Javascript Interface option in the kprotect Tool),
A old thread, but is it possible to activate the javascript interface in the panotour swf ?
Thanks!!
-
Hi,
I'm not sure if this is still true for the current Panotour version, but so far I know, you need to enable the domain limitations in Panotour to enable the Javascript interface.
Or an other way - just use the krpano.swf instead.
Best regards,
Klaus
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!