Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »igor.socha« (23. März 2012, 11:57)
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Ariel« (18. Mai 2012, 03:21)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Ariel« (18. Mai 2012, 03:21)
|
|
Quellcode |
1 |
SWFAddress.setValue("/MyPanoToLoad");
|
|
|
Quellcode |
1 |
<?php $pano = $_GET['pano']; if($pano !== null) { echo "SWFAddress.setValue("/$pano");"; }; ?>
|
Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »Ariel« (18. Mai 2012, 04:21)
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
<krpano> <!-- Data --> <data name="email_subject_text" content="Check out this view!"/> <data name="email_body_text" content="I really liked this scene inside VIRTUAL_TOUR_NAME! "/> <data name="facebook_share_title" content="URLXXXX"/> <data name="facebook_share_text" content="I really liked this scene inside this virtual tour!"/> <data name="facebook_share_image" content="logo.jpg"/> <data name="tweeter_share_text" content="Check out this view inside VIRTUAL_TOUR_NAME!"/> <!-- Plugins--> <plugin name="swfaddress" url="plugins/sa.swf" alturl="plugins/sa.js" keep="true" preload="true" mode="auto" randomroot="false" parsepaths="true" titlePrefix="graz360 | " titlePostfix="" onurlchange="activatepano(%PANOID, %TYPE);" onpathchange="" onparamschange="paramschangeaction();" oninvalidaddress="showlog(); trace(Invalid address);" > <!-- Google Analytics & SWFAddress trackpoints --> <include url="%SWFPATH%/analytics_swfaddress.xml"/> </plugin> <plugin name="bitly" url="plugins/bitly.swf" alturl="plugins/bitly.js" keep="true" preload="true" apikey="R_109b01f8f56903a4e35c3f51d8202c62" login="panoramicpictures" onsuccess="trace(URL successfuly shortened: %URL);" onerror="showlog(); trace(The URL cannot be shortened);" /> ....... .... .. </krpano> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
<krpano>
<plugin name="ga"
url="plugins/analytics.swf"
alturl="plugins/analytics.js"
keep="true"
preload="true"
mode="auto"
debug="true"
account="UA-8440113-10"
prefix="/graz360"
parsepaths="true"
>
<!-- Google Analytics & SWFAddress trackpoints -->
<include url="%SWFPATH%/analytics_swfaddress.xml"/>
</plugin>
<action name="activatepano">
if (%2 == scene, loadscene(%1,null,KEEPBASE,BLEND(1)));
if (%2 == xml, loadpano(%SWFPATH%/pano/%1,null,MERGE,BLEND(1)));
</action>
</krpano>
|
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 |
<pano name="_001_aussicht_schlossberg" xmlurl="%SWFPATH%/pano/_001_aussicht_schlossberg.xml" pageurl="/aussicht_schlossberg" pagetitle="Aussicht Schlossberg" /> <pano name="_039_d01_aiola" xmlurl="%SWFPATH%/pano/_039_d01_aiola.xml" pageurl="/plateau_lift_im_berg_tag" pagetitle="Plateau/Lift im Berg - Tag" /> |
hi,
i bought the swfadress plugin 2-3 days ago and wanted to implement it into a quite big tour (70+ panos) aside with the google analytics plugin. as both plugins use quite the same code for their "tracking action" i thought i could make one seperate file withe the panos to track and to swfaddress'.
my setup right now looks like this:
swfaddress.xml:
![]()
Quellcode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 <krpano> <!-- Data --> <data name="email_subject_text" content="Check out this view!"/> <data name="email_body_text" content="I really liked this scene inside VIRTUAL_TOUR_NAME! "/> <data name="facebook_share_title" content="URLXXXX"/> <data name="facebook_share_text" content="I really liked this scene inside this virtual tour!"/> <data name="facebook_share_image" content="logo.jpg"/> <data name="tweeter_share_text" content="Check out this view inside VIRTUAL_TOUR_NAME!"/> <!-- Plugins--> <plugin name="swfaddress" url="plugins/sa.swf" alturl="plugins/sa.js" keep="true" preload="true" mode="auto" randomroot="false" parsepaths="true" titlePrefix="graz360 | " titlePostfix="" onurlchange="activatepano(%PANOID, %TYPE);" onpathchange="" onparamschange="paramschangeaction();" oninvalidaddress="showlog(); trace(Invalid address);" > <!-- Google Analytics & SWFAddress trackpoints --> <include url="%SWFPATH%/analytics_swfaddress.xml"/> </plugin> <plugin name="bitly" url="plugins/bitly.swf" alturl="plugins/bitly.js" keep="true" preload="true" apikey="R_109b01f8f56903a4e35c3f51d8202c62" login="panoramicpictures" onsuccess="trace(URL successfuly shortened: %URL);" onerror="showlog(); trace(The URL cannot be shortened);" /> ....... .... .. </krpano>
analytics.xml:
![]()
Quellcode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26<krpano> <plugin name="ga" url="plugins/analytics.swf" alturl="plugins/analytics.js" keep="true" preload="true" mode="auto" debug="true" account="UA-8440113-10" prefix="/graz360" parsepaths="true" > <!-- Google Analytics & SWFAddress trackpoints --> <include url="%SWFPATH%/analytics_swfaddress.xml"/> </plugin> <action name="activatepano"> if (%2 == scene, loadscene(%1,null,KEEPBASE,BLEND(1))); if (%2 == xml, loadpano(%SWFPATH%/pano/%1,null,MERGE,BLEND(1))); </action> </krpano>
and here the "analytics_swfaddress.xml" - without the leading and closing <krpano>&</krpano> tags to implement the trackingpoints into the <plugins>section of the analytics.xml and the swfadress.xml. the thought of this is to keep the trackingpoints together for both plugins (analytics & swfaddress) without having 2 files with nearly the same data in it:
![]()
Quellcode
1 2 3 4 5 6 7 8 9 10 11 <pano name="_001_aussicht_schlossberg" xmlurl="%SWFPATH%/pano/_001_aussicht_schlossberg.xml" pageurl="/aussicht_schlossberg" pagetitle="Aussicht Schlossberg" /> <pano name="_039_d01_aiola" xmlurl="%SWFPATH%/pano/_039_d01_aiola.xml" pageurl="/plateau_lift_im_berg_tag" pagetitle="Plateau/Lift im Berg - Tag" />
works great on the desktop version of the tour - fantastic! BUT - on the html5 devices i'm getting a xml parsing failed error - because of the missing </krpano> tags in the analytics_swfaddress.xml
is there any workaround for this for ios devices to use just ONE file with the "tracking-points"?
cheers
christian
Hi,
Anyone know why when I use swf address, the page jumps like when it is loading the coordinates using swfaddress ? If you follow the link below you will see what i mean. You need to scroll down a little to notice it jump back to the top though.
I have used iframe and without, it always happens (also when I use it with the e-card plugin).
http://bit.ly/LvPhpo
Thanks in advance for any advice.
Hi,
Am trying to load a 360 tour from another domain using your plugin and so far have managed to reference the tour remotely. What am stuck at however is navigation whereby I'd wish to be able to load the tour from another domain on an iframe and still be able to navigate via the address bar using hash anchors as I would if the tour was hosted on the same domain.
Is this possible and if yes, how?
Hey All/ Jaydee,
Based from your description your tool would be exactly what I need for my tour :-) Unfortunately my coding skills aren't that extensive. I have experience with Kolor Autopano Pro. I tried this description on the Kolor Forum to try your demo plugin:
http://www.kolor.com/forum/t15027-tutori…ks-to-panoramas
1) I applied the changes in the xml and html file written in the description
2) I placed all the plugin data in the right folder
3) I changed the offline flash security settings
However it wont work
Can you tell me if it's possible to use your tool in PTP in the first place? Thanks a lot!
As you can probably guess my user account on the Kolor forum is the same as here :)
Hi,
I asked guys from Kolor about the direct integration of my plugins in to PTP four or five months ago. However, they are still keeping silence.
The idea was very simple - to integrate my plugins in to PTP so user will be able to add swfaddress or analytics functionality as simple as clicking on checkbox!
About your problem - send me email, I'll try to help you. You can find my contact email here.
Hi all,
I have the tour of several panoramas connected by hotspots for going from one place to another. NOw, this is no problem to do with <scene>,
as for each scene I can define unique hotspots - but how to do it when using swfaddress plugin? How can I define, that some hotspots are visible ONLY with specific panorama ???
Can somebody help? Thanx!
Igor