Jump to Content
Kimili
  • Journal
  • Portfolio
  • Projects
  • About
  • Contact

Kimili Flash Embed 2.0 Preview - the WordPress Edition

11 Dec 08

Update! – Kimili Flash Embed 2.0.1 is now available for both Wordpress and Textpattern. Head over to the Kimili Flash Embed home page for more info and to download it.

Thanks to everyone who tried out the KFE 2.0 preview release and reported bugs back to me. You’ve made it a better plugin for everyone.

For the past month or so, I’ve been getting reports of the Kimili Flash Embed plugin breaking the admin interface in the beta versions of WordPress 2.7, so I quietly started working on a fix for it. Since Coltrane has just officially been released, now is a prudent time to introduce the release candidate of Kimili Flash Embed 2.0.

Not simply a patch up to previous version, KFE2 is a complete rewrite of the plugin which incorporates a number of changes:

  • Of course, it works in WP2.7.
  • It finally utilizes SWFObject 2!
  • There’s now modified version of the SWFObject Generator integrated to help you create KFE tags much more easily.
  • Alternate (non-flash) content is now much easier to specify.
  • Under the hood, the plugin now takes better advantage of the APIs that Wordpress has to offer, so it is more tightly integrated into the system and should play better with other plugins.

Best of all, the new version is backwards compatible with the previous versions, so it is simple a drop-in replacement.

Caveat Emptor

Bear in mind that this is not yet a final release of this plugin, so please consider it a public beta. Although it is feature complete, there are still a few missing pieces such as documentation and other things which are still necessary—thorough QA and regression testing come to mind. If you’re willing to exercise this preview release and report feedback to me, either by commenting here or contacting me directly, KFE users everywhere and I would be eternally grateful.

Go Forth and Download

So what are you waiting for, go ahead and download the KFE 2.0 preview from the WordPress Plugin Directory. Also, prior to the official release of KFE2, you can always check for fixes and updates by downloading the development version here.

Wither Textpattern?

If you’re a Textpattern user, as I am, fear not. Once any rough edges in the WordPress version are cleaned up, I will port the plugin to TXP and announce a proper 2.0 release with both flavors of KFE available.

Comments

Hans says:
424 days ago ∞

Thanks for the update, i’ve tried to update but got this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/vhosts/website.com/httpdocs/wp-content/plugins/kimili-flash-embed/kml_flashembed.php on line 59

Michael Bester says:
424 days ago ∞

@Hans – Thanks for trying it out! A quick search uncovered that the way I coded it wasn’t totally compatible with PHP4. I’ve updated the source to make it more compatible, so if you’d like to download it again and let me know if it works for you, as I don’t have a PHP4 instance to test on, I’d appreciate it.

Josh says:
424 days ago ∞

Hello again – thank you again for the update. I’ve installed it and now I’m receive the following javascript message in IE7 (I tested IE7 and Mozilla):

Line: 6
Char: 1913
Error: ‘J.parentNode’ is null or not an object

If I set the publishmethod to static, everything after the the flash object is no longer displayed on the page. With the publishmethod set to dynamic, the same error is displayed although the entire page is visible. If would like my assistance troubleshooting, just email me – I’d love to help!

Helene says:
423 days ago ∞

I thought it was working, but now I see that in IE (6 and 7) the page stops loading after the embed. It looks fine in Safari and Firefox. The flash embeds beautifully, but the page ends there. Do you have any ideas for me? Thanks very much.

Michael Bester says:
423 days ago ∞

@Helene & @Josh – It looks like you’re both having the same issue with IE. Do either of you have a URL you can point me to where I can see the error for myself?

Helene says:
423 days ago ∞

Michael, I don’t want the world to see this site under construction, but I attached the url to my last comment in the Website field. I’ll attach it to this one too.

Helene says:
423 days ago ∞

OK, I’m an idiot. I thought my web site wasn’t showing up, but now I see it’s linked to my name. So much for not wanting the whole world to see the site I’m trying to develop. If you are able to take the link off my name I’d appreciate it a lot.

Michael Bester says:
423 days ago ∞

Done, Helene.

Chris says:
423 days ago ∞

I believe it’s the conditional comments for IE that cause that error. If I edit them to:

<!—[if !IE]> and <![endif]—> in the appropriate places, instead of:
<!—[if !IE]>—> and <!—[endif]>—> then it seems to work fine. HTH.

matt says:
421 days ago ∞

So I can’t seem to get KFE 2.0 to work properly… after installing, all I get is the code- or the standard syntax with my path and swf dimensions.

Any ideas? (bear in mind I’ve reinstalled KFE 1.4.3 for the time being if you click over to my site) Thanks a TON!

Michael Bester says:
421 days ago ∞

@Matt – I’m not sure what the problem is that you’re seeing. Can you be more specific about the code you do get or point me to a URL where you’re experiencing problems?

Helene says:
421 days ago ∞

Chris, I tried your fix, and it did not work for me. Michael, do you have any ideas?

Helene says:
421 days ago ∞

I was wrong, I had a typo in the fix. It does work! Thanks a million!

Helene says:
421 days ago ∞

Me again. Last night I had a friend look at it in IE7 — but this morning I got access to IE6, and in IE6, first it loads up to the flash, then I get a little dialog box: “Press OK to continue loading the content of this page.” If I click OK, the rest loads. Strange?

Helene says:
421 days ago ∞

Looks like the dialog box is a side effect of Multiple IEs, nothing to do with your wonderful plugin.

Michael Bester says:
421 days ago ∞

@Helene – That’s the Component Activation nonsense that Microsoft put in IE back in 2006. They have phased that out in newer releases and updates, but it seems that there’s still plenty of copies of IE6 with that behavior in there.

One way to get around that with KFE is to publish your SWFs dynamically, rather than statically. You can do this easily by setting publishmethod="dynamic" in your KFE tags. Note that by default, KFE uses the static publishing method, which has wider compatibility in a range of devices and doesn’t explicitly rely on Javascript.

Michael Bester says:
420 days ago ∞

@Chris – The conditional comments actually need to be formatted like this:

<!—[if !IE]>—> and <!—<![endif]—>.

I didn’t have it correct to begin with, and have updated the code once again with the proper formatting of this tricky syntax.

Steve says:
420 days ago ∞

First of all thanks for your nice plugin: so far I used version 1.43, and it worked perfectly.

When I updated to Worpress 2.7, I noticed the problem on the user writing. So I tried this version of your plugin, but unfortunately it does not work on my website! In my pages I can read only the code, something like [kml_flashembed movie=”/wp-includes/swf/alienattack.swf” width=“872” height=“643” /]; so I put the old version again.

Waiting for the final version, I would get a call: may I get a version without button? It seems to create problems, but I don’t need that: I can very well enter the code manually. So I would know the parties to erase in order to maintain the effects, but without that button in Wordpress interface.

I hope to be clear, English is not my native language (I’m Italian!). Anyway, thanks again!

Michael Bester says:
420 days ago ∞

Ciao Steve – Let me know exactly what problems you were having with this new version. I’d like to know and make sure they’re fixed!

Rispondendo in italiano – ho capito.

rodrigo says:
420 days ago ∞

I updated to 2.0 and my site disappeared. It’s now just a blank page. The swf is in the header. Could that be it? The code is

<div id=“masthead”> [kml_flashembed movie=”<?php bloginfo(‘template_url’); ?>/images/banner.swf” height=“126” width=“970” /]
</div>

Michael Bester says:
420 days ago ∞

@Rodrigo – Which browser did you see the problem in? Is there a URL I can look at?

Storm says:
420 days ago ∞

Michael,

Thanks for you reply to my email, Michael. I tried upgrading to Kimili 2.0. While it fixes the visual HTML window of WP it won’t render my site’s swf file. An example of what I am trying to render is @ http://guitarteacher.com/?p=252&preview=true. I have changed back to 1.4.3 for now

Thijs says:
420 days ago ∞

For some reason your plugin works fine with Flash Player 9.x but is having issues when used with the latest Flash Player 10.x. An example can be found here: http://blog.pyamf.org/archives/geoip-example

I see you’re using SWObject 2.1, which is great, but I’m wondering if the upcoming 2.2 will fix this issue somehow (since it’s the first release with Flash Player 10 being the latest and greatest, being offered as the default by Adobe).

I’m seeing the issue with both 1.4.3 and 2.0.. any ideas? Feel free to email me directly if you have questions, cheers.

Andrew Lahser says:
420 days ago ∞

Hi,

Thank you for the very helpful plugin. I installed the 2.0 version. I only see the code, like this: [kml_flashembed….
I don’t see the flash. Mind you, I placed this tag directly into the template, and, not into a post or page. I deactivated all of my other plugins — the problem is still the same.

I’m going back to 1.4.3, but, I’d be happy to test. Or, if placing these tags in the template is no longer supported, that would be good to know too.

Thanks again for a great plugin.

rodrigo says:
419 days ago ∞

Michael, me again. When I update the plugin, my home page completely vanishes. When I click on “view page source” it’s just empty. I wish I could show you, but I don’t want my site to be down. I’m using Firefox, by the way.

Hans says:
418 days ago ∞

download the KFE 2.0 working fine over here! thanks a lot!

cheers!

Jonathan says:
418 days ago ∞

Hi. Thank you for your prompt update to the Kimili Flash plugin.

I am having issues with a new site. I am trying to center the .swf using the styling recommended on this site. I have had no problem on my other sites using your suggested styling and receiving the desired results. For some reason, I cannot get it to work in WP 2.7 (perhaps its a theme issue…I will test this next). Can you think of any reason why adding the following would not work?

div.flashmovie {margin: 1em auto;}

Thanks.

Steve says:
418 days ago ∞

Ciao again Michael! I already left a comment 2 days ago; thanks for your reply, but I can answer just now!

Anyway my problem seems to be the same of Andrew Lahser: with new version of your plugin I only see the code, but not the flash. Consider that I placed it into some pages, not directly into my template.

I really hope you can fix that, because I find your plugin absolutely essential!

Giochi gratis says:
418 days ago ∞

I use 1.4.3 version on my blog http://www.ecogiochi.it with edit area bug, but when I update 2.0 version Ive a lot of error on website public pages (ex. swf not visible, sidebar not visible, etc)
I’‘m the only one?

John Dalziel says:
418 days ago ∞

I’m getting the same as you Giochi. 2.0 fixes the editing preview but kills Flash inside posts. I’ve had to roll back to get posts working again..

Michael Bester says:
418 days ago ∞

@Steve, @Giochi & @John Dalziel – When did you last download the plugin? I worked with Andrew Lahser two days ago to fix the problem he was having, which should at least fix the problem you’re having, Steve. Go ahead and download the latest development version. I’m hoping it also fixes Giochi’s and John’s issues, too, but if not, there’s some further investigating to do.

@Jonathan – In KFE2.0, how you set the publishmethod attribute makes a difference in the code that gets rendered, and specifically what element the .flashmovie class is applied to. If you set publishmethod="static" – which is the default, by the way – an <object class="flashmovie">…</object> element gets output, but if you set publishmethod="dynamic" – which is more similar to how previous versions of this plugin work, you’ll get a <div class="flashmovie">…</div> element. If you want CSS which covers both those scenarios, you’ll have to do something a little less specific, like:

.flashmovie { display: block; margin: 1em auto; }

Jonathan says:
418 days ago ∞

Michael:

It worked great. Thank you.

IhateDesign says:
418 days ago ∞

Thanks its a good plugin/idea!

Tyler Cruz says:
417 days ago ∞

Hello,

I just upgraded to Kimili Flash 2.0 and am running WP 2.7 and at the top of my blog it shows the text “KML_FLASHEMBED_PROCESS_SCRIPT_CALLS”.

I have since deactivated it until this can be fixed/addressed.

Any ideas?

Thanks!

Michael Bester says:
417 days ago ∞

@Tyler – What theme are you using? Perhaps it’s not triggering one of the events that KFE requires. Also, what other plugins do you have installed and active?

Josh says:
417 days ago ∞

Hi Michael, like Helen I don’t really want to world to see my URL as well. I believe I send you a detailed email last week with the addresses of sample pages. Did you receive that?

Tyler Cruz says:
417 days ago ∞

Michael, I am using a custom theme.

Reading the installation instructions, I notice that it was a simple install and no code modification was needed so I am unsure as to why this may be occuring. I am not actually using the KFE code (tags) anywhere on my blog currently as I do not have immediate need for it (to display flash) but like to keep it on hand for when I will need to post flash at some point.

Michael Bester says:
417 days ago ∞

@Josh – I didn’t get an email from you with any URLs – go ahead and give me the details over here.

@Tyler – KFE2 requires that the wp_head() function be called in your theme’s header.php and that wp_footer() is called in your footer.php. Some custom themes leave out these hooks, so make sure that you have those function calls in your theme files. It seems that you have the wp_head() in place, but you may be missing wp_footer().

Steve says:
417 days ago ∞

Me again, Michael. Very sorry: I downloaded latest version from your link, but it doesn’t work on my site. I still see only code into the pages.

For the moment I still use version 1.43, but … I’m confident in your work !

Michael Bester says:
417 days ago ∞

@Steve – What theme are you using? You may have a similar problem Tyler. Read what I wrote to him in my previous comment, but in your case, I suspect the wp_head() function call might be missing from your header.php.

Tyler Cruz says:
417 days ago ∞

Michael,

I just checked and have both <?php wp_head(); ?> in my header.php and <?php wp_footer(); ?> in my footer.php… any other ideas?

Michael Bester says:
417 days ago ∞

@Tyler – Possibly a conflict with another plugin. What plugins (and which versions) do you have active, and have you tried turning them off one at a time to see if the issue with KFE goes away? I’m taking stabs in the dark here, because it’s difficult to figure out when unless I can see the error and poke around under the hood…

Tyler Cruz says:
417 days ago ∞

Michael,

I just tried deactivating/activating plugins one at a time and so far when I deactivated MaxBlogPress Favicon 2.0.2 the error message went away. 2.0.6 is out so I’m going to upgrade to that now and see if that fixes it. If it doesn’t, would you happen to know if there is a conflict between the two plugins and how to fix it?

Michael Bester says:
417 days ago ∞

@Tyler – I don’t know that plugin at all, so I’ll have to test it out to see where the conflict is. Let me know if the latest version of that fixes the issue.

Steve says:
417 days ago ∞

FINALLY I GOT IT!!!!

This time I tried to remove all other plugins, and first put yours: it worked. So I called the others one by one: no problems till the end! And Admin interface works perfectly, of course.

Many, many thanks for your advice, and even compliments for your nice work!

Tyler Cruz says:
417 days ago ∞

Michael I just finished upgrading to MaxBlogPress Favicon 2.0.6 successfully but didn’t fix the “KML_FLASHEMBED_PROCESS_SCRIPT_CALLS” bug I got unfortunately.

I tried again deactivating it and it removed that code from my page so it does seem to be isolated to that plugin. Could you please install that and try to see where the interference is?

Michael Bester says:
416 days ago ∞

@Tyler – Wow, never before have I felt like I needed a shower after installing a plugin! A registration process for a free plugin? A sales pitch as part of it? C’mon – that’s just crass! The whole thing feels dirty, but, alas, I digress…

The way that plugin inserts its favicon is indeed unfriendly to other plugins which use a similar method to insert code on a page (KFE being one of them). I can send you the copy of the plugin which I modified in order to make it play nicely with other plugins if you’d like.

Tyler Cruz says:
416 days ago ∞

Michael,

Yeah, the registration and spam is a pain but you can opt-out of the e-mails later at least…

Thanks for modifying the plugin but that would just be a temporary fix. I might just remove it since the plugin never did all much in the first place. Before I did, I just wanted to make sure there wasn’t a modifcation you could make to Kimili plugin that would allow it to work alongside with the MBP Favicon one?

Michael Bester says:
416 days ago ∞

@Tyler – I’m not going to modify KFE in order to make it work alongside a 3rd party plugin when that plugin is doing things wrong to begin with.

My primary concern is that any plugin I offer works flawlessly with the core platform I’m writing it for—WordPress and Textpattern in this case. Of course it needs to work well alongside other plugins, too, but that requirement is predicated on the assumption that the authors of those other plugins are also using best practices to make sure their code doesn’t interfere with the core or other people’s plugin code. Unfortunately, it’s near impossible to enforce best practices when literally thousands of people are writing thousands of plugins for a system. There’s way too many variables for any single plugin author to test comprehensively.

When I learn that I’m doing something in my plugins that is creating problems in other places (as was the case with earlier versions of KFE), I figure out what I’m doing wrong and fix it. I can’t be held responsible for other’s mistakes, though.

Tyler Cruz says:
416 days ago ∞

Michael,

I hope you understand that when I wrote “I might just remove it since the plugin never did all much in the first place.” that I was referring to the other plugin…

In any case, I will try to make contact with the plugin developer and see if he can make some adjustments to it. Is there anything in particular I should point him towards in the code?

Michael Bester says:
416 days ago ∞

I hope you understand that when I wrote “I might just remove it since the plugin never did all much in the first place.” that I was referring to the other plugin…

I absolutely understood. I wasn’t getting defensive, I just want to make sure the plugins I offered are as good as they can be.

I’ve posted the issue on MaxBlogPro’s forum detailing the problem and how to fix it. I only hope they take my suggested modification and work it into their codebase.

Thanks for helping me uncover this, Tyler.

John Dalziel says:
416 days ago ∞

Thanks Michael. Really appreciate your work on this. Your a lifesaver!

Tavish Lew says:
416 days ago ∞

Worked like a charm! Using WP 2.7 as CMS for client sites. Only other feedback is that this client was confused when they saw markup in the WP Visual Editor (God bless the computer illiterate). I just asked them to leave it alone…Maybe a nice finishing touch for V2.1 – Flash object placeholder in Visual Editor (as when you embed a movie object, ie. YouTube, etc.)? Thanks a million!

Andrew Lahser says:
414 days ago ∞

Hi Michael,

Thank you again for the help with the plugin. I had to reinstall my site. (My host transferred me to a different server.) Like Tyler (at his comment near HTML anchor c001964), I had to uninstall all of my plugins, then install Kimili, then reinstall the rest of my plugins, then Kimili works just fine. If other plugins were registered first,

Also, although I didn’t test it. It may make a difference depending on whether you use FTP or the upload form to install the plugin. I hope this info helps you.

Petrus Theron says:
414 days ago ∞

Whatever happened to proper site interfaces?
I am Extremely frustrated that there is not a DEMO link anywhere on this site. I looked everywhere – and really, I should Not have to look at all. Unless I can see what the plugin is going to look like beforehand, there is No way I am even going to the trouble of trying it. I am sure many people feel the same.
Please fix your site by adding a proper demonstration of the plugin in a highly visible place, preferably right at the top.
Also, your font is, however elegant it may be, difficult to read. Especially on a high-res monitor. Make it bigger, please.

Michael Bester says:
413 days ago ∞

@Petrus – I do not and will not offer a demo of any of my plugins anywhere, and the reason for that is simple – I’m not trying to sell you anything. If I were selling you a product, sure there’d be a way to demo it, but that’s not the case here.

I make Kimili Flash Embed and other plugins freely available to anyone who wishes to download it, no strings attached. It’s really very little trouble for someone to download and activate a plugin on their own site – it takes a few minutes at most. If they like it and find it useful, they keep it. If not, they deactivate it and maybe delete it. No Big Deal.

Frankly, you’re the first person to ever even mention the need for a demo in the four years or so that I’ve offered this plugin. Thousands have downloaded it without a complaint and are using it very successfully. If you don’t want to bother with it, that’s fine with me – go find what you need elsewhere.

One other reason I won’t offer a demo is this: To set up installations of WordPress and Textpattern with an open login for anyone to go in and play around with one of my plugins is counterproductive, both for me – because I’d have to maintain those installations and make sure they stay clean of spam and free of abuse which is overhead I don’t have the time for, and for the end user – because there’s so much those systems offer, one easily gets sidetracked going in to look at the functionality of one plugin.

And regarding my font—this site is text-zoom friendly. Enough said.

Richard Herrera says:
413 days ago ∞

I WANT A DEMO TOO!! OMFG. WTF IS UR PROBLEM?

Josh says:
413 days ago ∞

Just sent info in using your contact page – hopefully you got it! :)

Dennis says:
413 days ago ∞

Michael,
Thank you very much for a great plugin. Keep up the fine work.
Dennis

Lisa McMillan says:
412 days ago ∞

Seriously, this is one of the greatest plugins I’ve installed. Most valuable, least trouble setting up, most return on investment (read FREE), most easy to use, and most useful for a non-tech content team. I just wanted to say that. So for those that think they need a demo, you don’t. Take all of our words for it. It’s stable, and it does what it says it will. All that, and Michael reads and responds to comments, which is more than we can say for many plugin developers. That he even updates this puts him in the top 10% of plugin devs imho. Most projects start with a bang and phase out the minute wp gets a new release candidate.

I don’t know. Seems to me that the time spent writing the comment could have been spent doing the famous 5 second install for testing. Just sayin’.

Anyway. Now that I’ve wasted an equivalent amount of time, I just wanted to thank you Michael, again, for the work. You’ve saved me and my team a tonne of time and we owe you one.

Chris says:
412 days ago ∞

Thanks for correcting my quick and dirty fix earlier. I’ve amended my version accordingly.

I don’t really think it needs a demo either, as the description was clear enough for me to understand what it did. Perhaps just a few screenshots would be a better compromise if people really want to see what it looks like and roughly how it works?

Keep up the good work and Happy Christmas to you. :-)

Ferry Helmich says:
412 days ago ∞

Thanks alot for this new version of Flash Embed!
I had some troubles with the previous version in combination with Wordpress 2.7 but all of that is history now!

Thijs says:
409 days ago ∞

My Flash Player 10 issues had to do with the ‘Content-Disposition’ header, a new security measurement, see Adobe’s site for more on that: http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_changes_02.html#head32

Storm says:
407 days ago ∞

Michael,

Letting you know that I de-activated all my WP plugins, re-activated your latest version of Kimili first in line and my issue is resolved. Thanks and Happy New Year!

Michael Bester says:
407 days ago ∞

@Storm, @Andrew & @Steve – What other plugins do you have active? I’ve got to get to the bottom of this having to install KFE first thing before I release this properly. That’s just not right.

@Thijs – Thanks for tracking down that Content-Disposition behavior in Flash Player 10. Judging by the description on Adobe’s site, it doesn’t look like there’s anything that I, nor the SWFObject team can do to overcome it.

Daryl Dean says:
403 days ago ∞

I’m constantly amazed by people who complain about things that are free.

Thanks very much for KFE.

chris says:
402 days ago ∞

KFE is not working for me anymore since the upgrade to WP 2.7 / KFE 2.

I do get the proper object tag…

object id=“fm_events-show_752564619” class=“flashmovie” width=“444” height=“320” type=“application/x-shockwave-flash” name=“fm_events-show_752564619” data=“http://xxxxxxxxx.org/slideshows/events-show.swf”/

and it points to the proper data source, which indeed works if you hit its URI.

swfobject script call is in the header, I have proper header and footer tags as mentioned above, and have tried disabling all other plugins except KFE… so what’s up?

I was putting off the upgrade until KFE went into a new version… guess I should have waited a bit. I’ll downgrade back to yesterday’s backup and keep watching here.

Michael Bester says:
402 days ago ∞

@Chris – From your description, KFE is doing all it is supposed to be doing – it’s definitely not breaking in your case. If it were, you wouldn’t have the object element nor the swfobject call.

The only thing I can think of is if for some reason you have an old version of the Flash player installed. If you don’t define the fversion attribute, KFE2 defaults to detecting Flash Player 8, while KFE 1.x defaults to 6. If the version detection fails, SWFObject will not render the swf.

Arch Stanton says:
402 days ago ∞

The kml_flashembed tag doesn’t seem to work in pages such as header.php when using WP 2.7 & KFE 2.0

Michael Bester says:
401 days ago ∞

@Arch – It’s working for me in my tests. Can you be more specific about what theme and plugins you have running?

Arch Stanton says:
401 days ago ∞

It was a new install with default theme and plugins.

Michael Bester says:
400 days ago ∞

@Arch – Strange. Where exactly in header.php are you trying to place the code? If you’re trying to place it before the <?php wp_head(); ?> call, I think it won’t work in that instance. If that’s the case, you can try moving <?php wp_head(); ?> before your KFE tag and see if that works.

Arch Stanton says:
400 days ago ∞

That’s what the problem was, thanks. Strange how it worked with 1.4.3

Peter says:
397 days ago ∞

Michael,

I’m new to this and have a problem. I’m using KFE to embed a ShowItWeb flash file into WP. ShowItWeb creates a folder with index.htm, swf, xml and other supporting files. When I do the embed the proper size frame shows up, then I get “failed to load showit.xml” even though the file is there in the remote folder. I’ve included the address for the demo swf I’m working with.

I’ve tried it in a couple different themes with same results. Thanks in advance for any help. And thanks for your work on what looks like a great plugin.

Peter

Michael Bester says:
397 days ago ∞

@Peter – I suspect the ShowItWeb.swf has a reference to the XML it generates hardcoded into the SWF. You can use KFE’s base attribute to overcome this. See the KFE FAQs for more info.

Peter says:
397 days ago ∞

Michael – Thank you! That fixed it and the answer was in your FAQ. Sorry about that. Do you have a donation link?

Michael Bester says:
397 days ago ∞

@Peter – I sure do. There’s a donation link at the bottom of the KFE home page.

charles says:
397 days ago ∞

hiya- great stuff, but I can’t get it to load
http://uibel.com/panoramas/Fremont_island/panorama2flash.swf
version is 9.0.28

any ideas?
thanks

Tom says:
394 days ago ∞

will this new version work in 2.6? I autoupdated and it blew my admin in 2.6, I’m not using 2.7

Romer!can says:
393 days ago ∞

Previously, I was very pleased to use the 2.0 preview with WP2.7 as it allowed all my old Flash entries to work without a hassle.

Today, I was attempting to make a new post with Flash but I do not see any example code for what I should be doing. There is no button the TinyMCE visual editor and the button in the HTML editor appears to do nothing at all. So, until that’s working, what code should I be following in this new version? (Yes, I realize that as a workaround I can likely use the old 1.x style code and it should work.)

tom says:
391 days ago ∞

hi there. i used your contact form, but the email got sent to me. twice. haha. not sure if that was just giving me a copy or that there is something wrong with the code in the form? very strange.

my question was about the kimli flash plug-in for wordpress so i’ll post it here:

i’m building a portfolio site with wordpress 2.7. there is a “videos” section and i’m using a flash player from slideshowpro.net. there are a lot of videos and at times i will have 7 on a single long vertical page. i was able to get 1 video to work on each page but not more than 1.

my questions:

1. is there an easy way to displays flash videos (flv’s) with your plugin? maybe i don’t need to use slideshowpro at all.

2. if not – and if i have to find my own player (such as slideshowpro’s player) then is there something i need to add to the code when i have more than 1 player on a single page?

thanks very much!

Michael Bester says:
391 days ago ∞

@Tom – To address your questions:

1. You need some sort of video player SWF to play FLV files. Something like Slideshow Pro should work fine, as would something like the JW FLV Media Player. You’d have to work with those players to see how to use them to play back FLV files, but know that Kimili Flash Embed cannot play FLVs directly.

2. You can embed as many instances of a SWF—in your case, a player like SSP—as you want on a page using KFE. You’d then point each instance to a different FLV.

Although it’s outside the scope of KFE, a lot of players offer some sort of playlisting functionality, so you’d be able to play all your videos through a single instance of a player. I know the JW player does, and I’d imagine that SSP does as well.

tom says:
391 days ago ∞

thanks for your help michael. : )

Photographer Oliver Nielsen says:
391 days ago ∞

After activating the plugin, and attempting to add or edit a page, I get the following:

Fatal error: Using $this when not in object context in /home/3442/domains/olivernielsen.dk/html/wp-content/plugins/kimili-flash-embed/kml_flashembed.php on line 652

What’s up with that? ;-)

Photographer Oliver Nielsen says:
391 days ago ∞

I might add that I’ve tried deactivating all the other plugins, but to no avail, still the same error.

Michael Bester says:
391 days ago ∞

@Oliver – I’m having a goofy time keeping versions straight in the Wordpress plugin repository. Try downloading it again and you shouldn’t have that problem any more.

Photographer Oliver Nielsen says:
390 days ago ∞

Now it works! Thank you for the efforts and swift reply;-)

popart says:
390 days ago ∞

Is there a way to set user roles for the Kimili-Flash-Embed button? I don’t want anyone except the WP Admin to be able to insert Flash. I’m building a WP site for a client which uses Flash, so I need the plugin. But, I want to remove any buttons that may confuse them on the TinyMCE panel. (I’ve already tried TinyMCE Advanced, but it doesn’t provide a way to reove the Kimili button.) Thanks.

Michael Bester says:
389 days ago ∞

@Popart – There’s no way to set visibility of the KFE button based on roles built into the plugin. That said, you can edit kml_flashembed.php to restrict the button addition to admins only. In that file, you’d look for the following lines:

if (current_user_can(‘edit_posts’) && current_user_can(‘edit_pages’) ) {
if (!current_user_can(‘edit_posts’) && !current_user_can(‘edit_pages’) ) {

and based on the default Wordpress Capability vs. Role Table, you should be able to modify the above lines respectively to something like:

if (current_user_can(‘activate_plugins’) ) {
if (!current_user_can(‘activate_plugins’) ) {

That should restrict the button addition to just Admins.

Johan Steen says:
389 days ago ∞

I just installed the v2 preview. Working great :) except in the rss feed. It renders out the complete shortcode tag with entered info to the rss feed instead of the flash. Is this normal? As I understand it v1.4.x can output the flash to the rss feed?
Great work with this plugin!

Michael Bester says:
389 days ago ∞

@Johan – Thanks for picking that up! I’ve checked in a fix which you can download again. Install that and you shouldn’t see the problem.

One thing to be aware of with Flash in feeds is that not all readers will display it. Technically, <object /> elements (what embeds the Flash) are not valid in feeds, and some readers respect that restriction. In any case, you won’t see the shortcode anymore!

Johan Steen says:
389 days ago ∞

Wow, that was quick!
And I just tried the latest version, and it works excellent with embedding to feeds.
Thank you very very much! :)

Cheers!

Tyler Cruz says:
387 days ago ∞

Hi Michael,

Remember me? I had an issue with getting Kimili to work with the MaxBlogPress Favicon plugin. Well, after several weeks of back and forth e-mailing with the developer, they managed to patch their plugin in version 2.0.9 which they just released 3 days ago.

I now have both plugins activated and working correctly on my blog.

MaxBlogPress Favicon 2.0.9 can bd downloaded at http://wordpress.org/extend/plugins/maxblogpress-favicon/ and users may need to select wp_head() in the injection method option if they get the error like I did.

Just thought I’d stop by to let you know about this in case anyone else has the same difficulty.

popart says:
387 days ago ∞

Hi Michael – I just looked in ‘kml_flashembed.php’ and the following code does not exist,
`if (current_user_can(‘edit_posts’) && current_user_can(‘edit_pages’) ) {
if (!current_user_can(‘edit_posts’) && !current_user_can(‘edit_pages’) ) {`

So, I’m not sure where exactly I need to put the code you mentioned. I’m using Version: 2.0 for WP2.7. Thanks.

Michael Bester says:
386 days ago ∞

@Tyler – I had contacted the developers about that issue you were having, and they worked it out as of version 2.0.7, as far as I knew.

@Popart – Make sure you download the latest version of the plugin – 2.0.1. You probably have an earlier version before I put that code in there.

Michael Bester says:
386 days ago ∞

This post is now officially outdated, as KFE 2.0.1 is available.

Comments closed.


Flickr

  • Flying Saucer Bones
  • The Razor's Edge
  • Nope, Still Winter
  • Out Of Season
  • Quack Quack
  • Tree Light 5
  • Jabba's Joint

See more at Flickr

Recent Listening

  1. Celso Fonseca - Rive Gauche Rio
  2. Latin Playboys - Latin Playboys
  3. Orchestra Baobab - Specialist in all Styles
  4. Anoushka Shankar - Rise
  5. Miles Davis - Kind Of Blue
  6. Amadou & Mariam – Welcome To Mali
  7. Charlie Parker - Bird's Best Bop on Verve
  8. Charlie Parker - Best of The Complete Savoy & Dial Studio Recordings
  9. Björk - Homogenic

See more at Last.fm

Tweet, Tweet

  • Spot on! Evolution of Type Taste from Grade School to Present. http://bit.ly/cI4JzJ 11 hours ago
  • There he goes again. The dog is eating his poopsicles in the backyard. #coprophagia 2 days ago
  • Flying Saucer Bones. http://flic.kr/p/7B6167

    • @dailyshoot #ds83 #photo
    2 days ago
  • RT @Coudal: Careful who’s looking over your shoulder. http://www.youtube.com/watch?v… 3 days ago
  • Whole Foods has the best food ever! http://yfrog.com/32kyrhj /via @mammalicia 4 days ago

See more at Twitter

©MMII—MMX Michael Bester