Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-09-29 19:06:22

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: kml_flashembed: Kimili Flash Embed

Michael, This is just an amazing plugin and definelty saves a lot of time+energy.

I tested the latest version of your plugin with Txp 4.01 and found that all the attributes work as expected.


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#17 2005-12-05 14:55:47

senzo
New Member
Registered: 2005-06-07
Posts: 3

Re: kml_flashembed: Kimili Flash Embed

Thank’s a lot for this plugin. it’s just great.

There is one thing i can’t get to work:
I would like to get an <code>&lt;txp:article_image&gt;</code> tag if there is no Flash player installed.
Is it possible to use an txp-tag as alttext?
I also tried to use the target attribute (with no success):

<code><div id=“flashcontent”></code><br /><code> &lt;txp:article_image&gt;
</div>


fo.write(“flashcontent”);</code>

in this case i get “undefinedundefined” instead of the div content.

I hope someone can help me with this point.
Thanks in advance

EDIT:
The alttext attribute is required. But if the alttext attribute is set the div content will not be visible.
i got a solution by editing the .js

Last edited by senzo (2005-12-07 00:41:38)

Offline

#18 2005-12-07 17:36:29

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

Re: kml_flashembed: Kimili Flash Embed

Senzo – I am working on an update to the plugin which will dispose of the need for the alttext attribute. With the new version, you will be able to do exactly what you described above. You’ll be able to put your alternate content – whether it’s text, an article image, or something else – into a target div, and have the flash overwrite that if the right player is detected.

Offline

#19 2005-12-17 22:46:54

senzo
New Member
Registered: 2005-06-07
Posts: 3

Re: kml_flashembed: Kimili Flash Embed

Thank you kimili.
I’m looking forward to it.

Offline

#20 2006-01-09 05:04:20

reptilerobots
Member
Registered: 2005-08-20
Posts: 72

Re: kml_flashembed: Kimili Flash Embed

How is the update coming?

Offline

#21 2006-01-23 23:33:57

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

Re: kml_flashembed: Kimili Flash Embed

Offline

#22 2006-01-24 09:21:00

-jw-
Member
From: fruitbelly, the Netherlands
Registered: 2004-03-16
Posts: 79

Re: kml_flashembed: Kimili Flash Embed

kimili,

looking forward to try it out, however the downloadlink on your site only shows an empty page…

jw


textile deletes my identity

Offline

#23 2006-01-24 14:41:36

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

Re: kml_flashembed: Kimili Flash Embed

JW – I just had a little confusion with the file manager permissions. The link is fixed now, so go ahead and give it another go.

Offline

#24 2006-04-03 10:29:22

jebni
New Member
Registered: 2004-05-24
Posts: 8

Re: kml_flashembed: Kimili Flash Embed

Kimili, SlideShowPro swf files in a Textpattern install can’t get their xml data unless we add the parameter “BASE” as “.” to the FlashObject embed code. My PHP is nonexistent, so I’ve just hardcoded this in as a patch to the plugin. Any chance of adding that parameter to the list of controllable ones?

Offline

#25 2006-04-03 11:39:26

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

Re: kml_flashembed: Kimili Flash Embed

jebni – You should be able to pass any parameter to the flashObject code using the fvars attribute of the kml_flashembed tag. In this case, you would use something like:

<txp:kml_flashembed movie="whatever.swf" width="100" height="100" fvars=" base = . " />

The other option, particularily with something like SlideShowPro or any flash movie that references external files – XML or otherwise, is to make sure all the paths you use to reference those files are absolute.

Offline

#26 2006-04-03 12:49:25

jebni
New Member
Registered: 2004-05-24
Posts: 8

Re: kml_flashembed: Kimili Flash Embed

Kimili, I tried setting a “base” parameter using “fvars”, but that produced an “addVariable” call instead of an “addParam”. Manually adding “addParam” when your plugin writes everything out seemed to make all the difference. Yep, my paths are absolute.

Last edited by jebni (2006-04-03 13:27:11)

Offline

#27 2006-04-03 17:16:44

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

Re: kml_flashembed: Kimili Flash Embed

Your timing couldn’t be better, jebni. I was just wrapping up an update to the plugin when you posted this question. Consequently, I was able to slip the answer in there. The Kimili Flash Embed (version 1.1) now has a base attribute, used for just this purpose.

Give it a try and let me know how it goes.

Offline

#28 2006-04-04 07:20:53

jebni
New Member
Registered: 2004-05-24
Posts: 8

Re: kml_flashembed: Kimili Flash Embed

You’re unreal! I’ll let you know how it goes…

Updated: works great.

One other thing: when specifying an “fvar”, is it possible to concatenate strings with TXP internal variables and pass the result to Flash? For example, with my SlideShowPro swf, I want to pass it a variable called “initialURL” in order to jump to a certain album in the SSP gallery. Now, I just want to use the category syntax for TXP URLs to stand in for that variable, i.e. a URL like

<pre><code>domain.com/gallery/?c=albumname</code></pre>

would generate this FlashObject call:

<pre><code>addVariable(“initialURL”,”#id=albumname”);</code></pre>

The plugin can pass <code>$c</code> as an <code>fvar</code>, but how would I specify a concatenation like <code>”#id=”.$c</code>? Again, at the moment (as a non-PHP person) I’m hardcoding this into your plugin by sending that addVariable call to every Flash movie, but that’s a bit brute force…

Last edited by jebni (2006-04-04 08:18:38)

Offline

#29 2006-04-04 20:51:05

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

Re: kml_flashembed: Kimili Flash Embed

jebni – Currently, there’s no way to mix static with dynamic values in one variable, unless of course you take the brute force approach. I’m not sure how I could build it in a way that would be handled reliably, but that’s definitely something to look into for the next update.

Offline

#30 2006-05-12 08:01:02

brain
Member
Registered: 2005-06-28
Posts: 15

Re: kml_flashembed: Kimili Flash Embed

hi
i’m using this plugin but i have a problem in ie (latest version) the flash movie doesn’t appear in this page: http://www.canaletto.demonweb.co.uk/artmedia/index.php?s=portfolio&c=booth
but appear normally in this page: http://www.canaletto.demonweb.co.uk/artmedia/
the code is the same for the two pages, someone has had the same issue ?
thanks a lot in advance

Offline

Board footer

Powered by FluxBB