Textpattern Forum

You are not logged in. Register | Login | Help

#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