Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-02-16 12:56:39

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

kml_flashembed: Kimili Flash Embed

This plugin is an Textpattern friendly interface to SWFObject – the best way to embed Flash Content on your site. With the plugin, you can easily drop flash content into an article, page template, form, or wherever else you can use Textpattern tags.

The script handles just about any situation, from serving up alternate content if the plugin isn’t found to degrading gracefully for users without javascript.

Kimili Flash Embed

UPDATE

Kimili Flash Embed 2.0.1 is now available.

Last edited by kimili (2009-01-19 17:47:27)

Offline

#2 2005-02-16 16:32:51

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: kml_flashembed: Kimili Flash Embed

Will this work with Flash Video?

<code>http://www.macromedia.com/software/studio/flashvideokit/</code>

Thanks, Lee

Offline

#3 2005-02-16 17:09:52

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

Re: kml_flashembed: Kimili Flash Embed

Lee –

I haven’t used the Flash Video Kit, but it looks as if it generates the HTML code to embed the FLV files in pages.

I do use this plugin to embed video on my site, although the video files are .SWF, not .FLV. If .FLV files are embedded the same way as .SWFs, I don’t see a problem with the plugin being able to handle it.

If you have the flash video kit, can you post a sample of the code that it generates to do the embedding? I should be able to give you a better answer after having seen that.

Thanks,
Michael

Offline

#4 2005-02-16 23:41:08

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: kml_flashembed: Kimili Flash Embed

Nice thanks for your effort. I can’t wait to give it a spin.

Offline

#5 2005-02-25 21:38:30

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

Re: kml_flashembed: Kimili Flash Embed

Hi everybody –

I’ve updated this plugin to version 0.3 which includes some improvements pointed out by Kelvin Luck. These include:

  • Auto-generating an ID attribute for the flash movie based on it’s filename should you not define an ID.
  • Cleaning up and initializing some undeclaired variables.

You can get the updated version here

Offline

#6 2005-02-26 09:00:50

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: kml_flashembed: Kimili Flash Embed

Anyone know how to turn off/on the Flash plugin in FF and IE?

Thanks
Lee

Offline

#7 2005-02-26 13:43:39

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

Re: kml_flashembed: Kimili Flash Embed

Lee –

Using the Flash Embed Plugin, you can effectively bypass the flash player by looking for a non-existent version of the player using the fversion attribute. Tell it to look for player version 8 or higher:

<txp:kml_flashembed movie="movie.swf" height="100" width="100" fversion="8"></txp:kml_flashembed>

This will serve up any alternate content you have specified with the plugin. Of course, you should only do this for testing purposes.

Michael

Offline

#8 2005-03-01 01:42:49

fri
Member
From: Denmark
Registered: 2004-04-30
Posts: 34
Website

Re: kml_flashembed: Kimili Flash Embed

Thank you very mutch for your great effort, kimili, I’m very interested in getting this to work.

I’ve been trying to figure out the fvars syntax, though.

fvars=“name=value” works fine – but what I want to know is how to pass php-variables correctly.
You mention them in your help and hard-coded variables too.

Could anybody give me some examples of how to pass php and hardcoded variables?
My need at the moment would be something like:

<code>fvars=“section=<?php echo _GET[‘s’]; ?>”</code>

Kamilla

Offline

#9 2005-03-02 22:32:01

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

Re: kml_flashembed: Kimili Flash Embed

Fri –

It looks as if I was a little hasty in stating that you can pass in PHP variables to the fvars attribute. It’s not so simple, and doesn;t work as I thought it should.

Good news is, I am working on an update to the plugin that will give users simple access to (at least) things like Section, Article ID, and site URL. I’ll announce here when it is available.

Michael

Offline

#10 2005-03-03 13:09:24

fri
Member
From: Denmark
Registered: 2004-04-30
Posts: 34
Website

Re: kml_flashembed: Kimili Flash Embed

Michael,

I’m looking very mutch forward to it – because I,m better at coding action-script than php …

Thanks again.
Kamilla

Offline

#11 2005-03-16 19:21:23

kimili
Plugin Author
From: Massachusetts, USA
Registered: 2004-06-17
Posts: 108
Website

Re: kml_flashembed: Kimili Flash Embed

A new version of the Kimili Flash Embed is now available. Now you have access to many TXP environmental variables that you can pass into your Flash movie.

The fvars attribute is used to do this, so if you wanted to pass the current section to your movie, for example, you would do so like this:

fvars="section=$s"

It’s pretty straght ahead you can read more about it and download it here

Last edited by kimili (2005-03-16 19:21:42)

Offline

#12 2005-03-16 22:52:40

fri
Member
From: Denmark
Registered: 2004-04-30
Posts: 34
Website

Re: kml_flashembed: Kimili Flash Embed

this is more than great – I thank you a lot!

Offline

Board footer

Powered by FluxBB