View Full Version : FlashPanoramas in Wordpress?
retiarius
05-15-2007, 04:02 PM
I've been trying to get my Flash Panoramas to work in Wordpress (using the Kimili Flash Embed plug-in) but it doesn't seem like flash is able to read the xml file so the swf just displays a "Loading: Failed" message.
Any tips out there for getting Flash Panoramas working in Wordpress?
TIA!
Denis
05-20-2007, 09:24 PM
This is my code for Wordpress (place it with disabled html editor):
<div id="flashpost16">You need the Flash Player to view this content.</div>
<script type="text/javascript">/**/</script>
Also place a link to SWFObject.js (I have it in the main template <head>):
<script src="/files/swfobject.js" type="text/javascript"></script>
(you can place it in the message body as well)
fredrik77
06-05-2007, 11:58 AM
Denis, do you plan to write a wordpress plugin for your player in the future?
Denis
06-08-2007, 01:02 PM
No. I think disabled visual html editor is more flexible way. :)
FPP is only a Flash file, so you can try to use any plugin for Flash embedding, like KML plugin, for example.
rokroo
07-20-2007, 08:21 AM
I red the tips, I tried several variants, but still the pano says loading failed.
I put the referer to the swfobject.js in the HEADER.PHP.
Kimili Flash Embed is disabled. Then i put the code I use in a normal HTML page in the Wordpress post. I also examined the code you use in your own Wordpress blog.
I attached a file with the code I uses.
Maybe you can give some complete example, or some tutorial on how to do this.
Thanks a lot.
Denis
07-28-2007, 02:18 PM
The main problem for FPP wordpress injection is pathes (they are often looks not like you are expeting :) ). There are some tips:
1. Set up Flash Tracer to see "wrong URL" reports.
2. Check Javascript error (be sure SWFObject is loaded).
2. Use global paths: panoName=www.myblog.com/images/pano2
3. Use Kimily plugin, it's more simple to debug (my code is more universal).
Chris
10-13-2007, 02:28 AM
Hi
i tried since two days to make any progress - but i am not able to see any kind of panorama in wp.
I did simple test setup on my localhost (without wp) - and loaded this constellation on wp.
6 pics (from the example folder) with name nature_a.., 1 nature.swf and 1 nature.xml.
In theory i shoud be enough to link to the nature.swf - fpp should find the pictures automatically because it is the same name.
I added a nature.xml with the absolute path to the pictures and all other pathes are absolute, too.
No Javascript and all files in the same folder..
One thing: i use permalinks - for this reasen you have to add index.php after the direct domain name.. (ferndesign.biz/index.php/..) - i tried it withou, too - no success as well.
The loading code in wp is:
<div><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.ferndesign.biz/index.php/wp-content/themes/ferndesign/pano/qvt/nature.swf" />
<param name="allowFullScreen" value="true" />
<param name="quality" value="high" />
<param name="xml_file" value="http://www.ferndesign.biz/index.php/wp-content/themes/ferndesign/pano/qvt/nature.xml" />
<embed src="http://www.ferndesign.biz/index.php/wp-content/themes/ferndesign/pano/qvt/nature.swf" quality="high" width="100%" height="100%" xml_file="http://www.ferndesign.biz/index.php/wp-content/themes/ferndesign/pano/qvt/nature.xml" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object></div>
The flash player loads every time - but i get only loading failures!
Why can't find fpp the pics with the same name when the pics are in the same folder and the flash player is correct linked?
Do i have to link the pics in the xml file (even if it is the same folder)?
Example:
Ferndesign Test (http://www.ferndesign.biz/testsite/)
Kind regards
Chris
clodomi
01-07-2008, 12:44 PM
Hello I also try to understand how to insert a FPP in a blog. I tried in DotClear and in Opera blog without success :(
I just now open a WordPress Blog here: http://wordpress.com/ but in the help page I read this:
---
- Can I add flash? video? Embed other media?
For security reasons we remove the tags needed for the above. Your intentions may be innocent but someone somewhere would try to damage the site.
---
So I'm quite confused :confused:
I think that here you wrote about a WordPress blog installed in your own domaine name?
Sam Rohn
03-06-2008, 08:53 AM
finally got this figured out, the trick seems to be absolute url's in the xml file's paths, as well as the complete url to the xml file itself after the pano.swf?xml_file= bit in the pano url (figured this out using safari activity window)
using Kimili Flash Embed (http://kimili.com/plugins/kml_flashembed) the code on your wordpress page would look something like this -
[kml_flashembed movie="http://nylocations.org/blog/pano/lbny-1/pano.swf?xml_file=http://nylocations.org/blog/pano/lbny-1/lbny.xml" height="400" width="640" allowfullscreen="true" /]
the kimili plugin takes care of the SWFObject automatically
this is for a self install of wordpress, not wordpress.com blogs - for that, try an iframe....
sam
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.