Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#121 2010-02-10 17:29:49

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: kml_flashembed: Kimili Flash Embed

Very nice plugin. I use it to replace the rather old bas_flvplayer.

There is one ‘problem’ though: the semi colon to separate the flashvars is giving me a headache. I want my site to be XHTML 1.1 compliant, and the ; is normally used in coding special characters (like in & for the &), and is now causing XML parsing errors.

Would there be a possibility to use another, non-conflicting, character to separate flashvars?

Offline

#122 2010-02-11 15:18:00

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

Re: kml_flashembed: Kimili Flash Embed

Ragger –

The semicolon isn’t intended to actually render in the page template, it’s simply used as a delimiter between fvar name/value pairs within the <txp:kml_flashembed /> element. When the tag is processed and turned into html, the semicolon should be replaced with ampersands. If you’re seeing that it isn’t, I’d like to see an example of a page where you’re having the problem.

Offline

#123 2010-02-11 19:43:24

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: kml_flashembed: Kimili Flash Embed

You are right, an ampersand is created, which at its turn is causing XML parsing errors, because after an & a ; is expected. The problem only shows in XML-capable browsers (XHTML 1.1 served as XML, with media type ‘application/xhtml+xml’) like Firefox or Chrome.

Please check this page.

I guess one solution would be to output an &amp; in stead of a &.
Thanks for your help.

Offline

#124 2010-02-11 19:57:36

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

Re: kml_flashembed: Kimili Flash Embed

The quickest fix for you to try would be to edit the plugin file. Go to edit the plugin in TXPs Admin->Plugins tab, copy the plugin code into a text editor and search for the following line:

$querystring = join("&", $this->controller->parseFvars($fvars));

replace it with:

$querystring = join("&amp;", $this->controller->parseFvars($fvars));

Then copy the modified code and paste it back into the TXP plugin editor. That should do the trick for you.

Offline

#125 2010-02-11 20:32:42

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: kml_flashembed: Kimili Flash Embed

Hmm, trying to change the plugin code gives me a 500 Internal Server Error, even after I have:
  • temporarily renamed the .htaccess
  • switched to messy urls
  • set php safe mode=off at my web site company’s settings panel

But it seems like a nice solution :)

Last edited by ragger (2010-02-11 20:34:25)

Offline

#126 2010-02-11 22:24:10

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

Re: kml_flashembed: Kimili Flash Embed

That’s strange – changing that string shouldn’t give you a 500 error at all – I tried it out with no problem.

Offline

#127 2010-02-11 22:53:43

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: kml_flashembed: Kimili Flash Embed

I can’t change any plugin, it’s not only yours. Always the same Server Error.
On another site of mine, which is on the same hoster, this problem does not exist.

Do I overlook something? Some setting somewhere?

Offline

#128 2010-02-11 23:18:35

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

Re: kml_flashembed: Kimili Flash Embed

No setting that I’m aware of. Sounds like something is amiss in your Textpattern installation, something beyond what I can help you with.

Offline

#129 2010-05-17 02:25:22

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: kml_flashembed: Kimili Flash Embed

Hi,
I need help getting my SlideShowPro to work.
I can’t figure out why my SlideShowPro flash embed in Textpattern won’t View. (But it does view live using just a browser, e.g.: http://www.website.com/slideshow-folder/slideshow.swf.)

My Textpattern tag is:

<txp:kml_flashembed publishmethod=“static” fversion=“9.0.0” movie=“http://www.website.com/slideshow-folder/slideshow.swf” width=“305” height=“200” align=“right” quality=”@high@” targetclass=“flashmovie”>

[I also tried this tag with the fvars=“xmlfile” attribute. Still, not working.]

And my head script is: <script src=“http://www.website.com/Scripts/AC_RunActiveContent.js” type=“text/javascript”></script>

Since the movie views fine live, I can’t see the problem.

Help!

Thanks you!


Living the Location-Independent Life: www.NuNomad.com

Offline

#130 2010-05-29 18:26:34

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: kml_flashembed: Kimili Flash Embed

I found the problem. It is not the script but the limited hosting service at SiteGround.com. Their reply was: “…regarding the slide show pro module – I am afraid while it requires ffmpeg to run, it will not be compatible with our shared environment. “ Their solution was to change me over to a private server at $179 per month. Not a solution at all. So, I then loaded SlideShowPro onto my other hosting service (jumpline.com) and no problem. So, needless to say, I don’t recommend SiteGround.com.

Thanks all for your help on this issue.


Living the Location-Independent Life: www.NuNomad.com

Offline

#131 2010-05-29 19:22:27

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

Re: kml_flashembed: Kimili Flash Embed

@laptophobo – Glad you were able to work it out with your hosting providers.

Offline

#132 2010-05-29 20:45:05

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: kml_flashembed: Kimili Flash Embed

Truth is, I haven’t tested it with your plug-in yet. (Went with the standard HTML installation.) Anyway, at least we know that one needs to check with the hosting provider should their SlideShow Pro not view.

Thanks for watching over me. Happy long weekend!


Living the Location-Independent Life: www.NuNomad.com

Offline

Board footer

Powered by FluxBB