Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
|
|
Quellcode |
1 |
[krpano xml="<xmlfile>"] |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »No-Nonsense« (19. April 2010, 20:04)
Just discovered your great plugin but have been completely unable to get it working :(
I uploaded on my website my pano.swf (krpano.file) with licence embedded in it, pano.xml file and subdirectory with all pictures used by KRPano. If I try directly the URL http://www.skivr.com/temp/pano.swf, it works.
Now if I try to include it in a post, whatever how I indicate path to xml file, I always get an I/O error on pano.xml file in post in WP.
May you confirm exact syntax to use ? as explanations on wordpress website are not enough detailed !
I tried among bunch of other syntax that one:
[krpano xml="http://www.skivr.com/temp/pano.xml"]
If you have specified the URL to the pano.swf (krpano.swf) in the WP administration dialogs then this is how I am using it. I had a simiar problem report like yours where Autopano Tour was involved. Sadly the reporting person could not provide enough material to find the cause.
Could you specify the exact error message (I/O error)? I would be very glad if you could assist me findinding the cause of the error, as this could be a problem that others might be experiencing but are not reporting.
Do you have the swf and the xml in the same directory? This is my current setup. I will try with different directories tomorrow if I find some time. I feel that this is a problem that I did not think of due to my initial setup working w/o issues.
|
|
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 |
<krpano version="1.0.8" logkey="false">
<events onloadcomplete="playbackgroundsound(none);"/>
<panoview h="0" v="0" fov="90"/>
<view fisheye="0" limitview="lookat" vlookatmin="-90" vlookatmax="90" fovmin="0.01" fovmax="179" fov="90" hlookat="0" vlookat="0"/>
<preview url="panodata/pano0/preview.jpg"/>
<image type="CUBE" multires="true" tilesize="625" baseindex="0">
<level tiledimagewidth="5000" tiledimageheight="5000">
<left url="panodata/pano0/3/3/%v_%u.jpg"/>
<front url="panodata/pano0/0/3/%v_%u.jpg"/>
<right url="panodata/pano0/1/3/%v_%u.jpg"/>
<back url="panodata/pano0/2/3/%v_%u.jpg"/>
<up url="panodata/pano0/4/3/%v_%u.jpg"/>
<down url="panodata/pano0/5/3/%v_%u.jpg"/>
</level>
<level tiledimagewidth="2500" tiledimageheight="2500">
<left url="panodata/pano0/3/2/%v_%u.jpg"/>
<front url="panodata/pano0/0/2/%v_%u.jpg"/>
<right url="panodata/pano0/1/2/%v_%u.jpg"/>
<back url="panodata/pano0/2/2/%v_%u.jpg"/>
<up url="panodata/pano0/4/2/%v_%u.jpg"/>
<down url="panodata/pano0/5/2/%v_%u.jpg"/>
</level>
<level tiledimagewidth="1250" tiledimageheight="1250">
<left url="panodata/pano0/3/1/%v_%u.jpg"/>
<front url="panodata/pano0/0/1/%v_%u.jpg"/>
<right url="panodata/pano0/1/1/%v_%u.jpg"/>
<back url="panodata/pano0/2/1/%v_%u.jpg"/>
<up url="panodata/pano0/4/1/%v_%u.jpg"/>
<down url="panodata/pano0/5/1/%v_%u.jpg"/>
</level>
<level tiledimagewidth="625" tiledimageheight="625">
<left url="panodata/pano0/3/0/%v_%u.jpg"/>
<front url="panodata/pano0/0/0/%v_%u.jpg"/>
<right url="panodata/pano0/1/0/%v_%u.jpg"/>
<back url="panodata/pano0/2/0/%v_%u.jpg"/>
<up url="panodata/pano0/4/0/%v_%u.jpg"/>
<down url="panodata/pano0/5/0/%v_%u.jpg"/>
</level>
</image>
<plugin name="data" keep="true"/>
<textstyle name="DEFAULT" alpha="1" bold="false" font="Arial" fontsize="16" italic="false" textcolor="0xff000000"/>
<plugin name="openfs" align="bottom" blendmode="screen" keep="true" onclick="set(fullscreen,true);" onout="set(blendmode,screen);" onover="set(blendmode,add);" url="panodata/graphics/menu/menu0.png" x="-20" y="10"/>
<plugin name="closefs" align="bottom" blendmode="screen" keep="true" onclick="set(fullscreen,false);" onout="set(blendmode,screen);" onover="set(blendmode,add);" url="panodata/graphics/menu/menu1.png" visible="flase" x="-20" y="10"/>
<events onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);"/>
<plugin name="autorotation" align="bottom" blendmode="screen" keep="true" onclick="switch(autorotate.enabled);" onout="set(blendmode,screen);" onover="set(blendmode,add);" url="panodata/graphics/menu/menu2.png" x="20" y="10"/>
</krpano>
|
Thanks for your answer and help. As you spoke about AutoPano Tour, I tried then with an other panorama where I generated KRPano xml by hand and then it works :) http://www.skivr.com/?p=716
It looks it's definitively an AutoPano Tour generated panos the issue. What do you need to help you resolve that problem ? I include below code generated by AutoPano Tour for panorama not working with plugin ;)
Good to know that it might be somewhat related to the XML code generated by Autopano Tour and that it works with your hand written XML code.
Just to make sure: Did you use the krpano.swf that is shipped with Autopano Tour when trying to embed the Autopano Tour generated panorama? Did you use the same krpano.swf for your hand coded XML? I am unsure if there are differences/limitations in the krpano version that comes with Autopano Tour.
Thank you for providing the sample XML that causes the issue! From a first quick look I can not tell what is wrong. I will experiment with your XML over the weekend. Sorry for that delay, but I will probably not have time earlier.
In fact AutoPano Tour generates two xml files and I thought first it was the problem, so I merged both xml files in one, but it's still exactly same problem :( So that's very strange ! Please keep me informed if u find anything ;)
By the way posted an article on my blog explaining how to use your plugin ;) http://www.skivr.com/?p=739
Thank you for the kind article! I finally found some time to try and play with the XML you have provided. But I could not reproduce the issue.
Could you please send me a link to a sample by PM so that I can have a look at the HTML, XML, etc.? I really only need the URL, please do not send any files.
I included with success a virtual tour in wp with your plugin at first shot I'll investigate with guys of AutoPano tour to know what modifications they did in KRPano that could explain such an issue !
Found myself solution to that issue with AutoPano Tour, here are steps to resolve problem ;)
- Remove the swf generated by AutoPano Tour (APT) and put in place the original krpano swf and rename it with name of APT project, add also in same directory your KRPano licence file and rename it also
- Edit each xml file generated by APT and complete all
tag with http header in that way, instead of reading ./something it should read http://www.yourwebsite.com/pathtosomething/something ! It can be easily done with find/replace function of any good text editor !
![]()
Quellcode
1 URL- That's it, it should now display correctly your virtual tours made by APT in Wordpress (example: 7 Laux Ski Resort)
Hope it helps![]()
Vincèn
Found myself solution to that issue with AutoPano Tour, here are steps to resolve problem ;)
- Remove the swf generated by AutoPano Tour (APT) and put in place the original krpano swf and rename it with name of APT project, add also in same directory your KRPano licence file and rename it also
- Edit each xml file generated by APT and complete all
tag with http header in that way, instead of reading ./something it should read http://www.yourwebsite.com/pathtosomething/something ! It can be easily done with find/replace function of any good text editor !
![]()
Quellcode
1 URL- That's it, it should now display correctly your virtual tours made by APT in Wordpress (example: 7 Laux Ski Resort)
I've a message of "loading error - Security Error".
Like others, I'm working with Autopano Giga+Tour, with krpano license.
Doesn't it work when replacing only the SWF without replacing the relative URLs? I am really lost why it does not work with the Autopano Tour XML...
You need to do both to get it working
I managed to embed a panotour pro file in my wordpress. But the audio hotspots are not loading. I put the soundinterface from krpano files. It still not running.
Any ideas ?![]()