Wabysabi

The Personal and Professional website of Daniel Wabyick

Wednesday, January 30, 2008

Embedding AIR Badges on Wordpress via Kimili Plugin

In my last post, I wanted to distribute a sample AIR application via the user-friendly badge installation process. After taking a look at the available options, I came across an excellent Flash embedding solution for Wordpress called Kimili. Kimili is a Wordpress friendly wrapper on top of Geoff Stearns excellent SWFObject Javascript library.

I thought I would share my code snippet for my previous post in order to help the next person who was trying to get AIR badges in Wordpress going:

[kml_flashembed movie="/examples/airchrome/badge.swf" height="140" width="217" fid="badge" bgcolor="#181818" fvars="appname=ResizableAIRChromeExample ; appurl=http://www.wabysabi.com...ChromeExample.air ; airversion=1.0.M6 ; messagecolor=999999 ; imageurl=http://www.wabysabi.com...airchrome/badge.png" fversion="9.0.63" allowscriptaccess="always" scale="noscale" wmode="transparent" / ]

Two side-notes:

  • The Kimili plugin delimits flashvars with semicolons bracketed by spaces (e.g. ” ; “). I’m not sure why it requires this odd syntax, but things won’t work if you eliminate the spaces.
  • I added a space betwen the closing bracket of the tag so that Wordpress wouldn’t interpret it. The correct syntax should be “/]”.

Thanks to Michael Bester for the great library!

posted by admin at 9:26 am  

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress