Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-20 02:45:31

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

embeding swfs.

Is anyone using the ufo method to successfully embed swf objects/movies in txp pages.
Im having problems after the initial page within a site is left for another page.
Something happens with the cache or something that causes the script not to work. It doesnt matter if the head script is in a form or right on the page.

Seems to be the same problem when i tried the adobe method as well. If anyones got either of these to methods working than id love to find out how. Id rather use the ufo method though.

I had this problem a year ago and was helped out with it, cant remember how.

heres the header bit that i think gets overlooked after the initial page load.

<script type="text/javascript" src="ufo.js"></script> <script type="text/javascript"> var FO = { movie:"team.swf", width:"50", height:"50", majorversion:"6", build:"0", xi:"true" }; UFO.create(FO, "team"); </script>

Last edited by kvnmcwebn (2007-12-20 02:46:29)


its a bad hen that wont scratch itself.
photogallery

Offline

#2 2007-12-20 02:48:53

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: embeding swfs.

can’t tell without looking at the page but are you sure ufo.js is being loaded each time? looks like you’re not using absolute or proper relative urls to load it.

Offline

#3 2007-12-20 03:04:49

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: embeding swfs.

hi,

http://www.jfl.ie/index.php/

http://www.jfl.ie/sample.html


its a bad hen that wont scratch itself.
photogallery

Offline

#4 2007-12-20 13:53:43

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: embeding swfs.

Instead of using the ufo js why don’t you go for the_video plugin. Simple and if you apply the patch provided it validates as well.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2007-12-20 17:38:38

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: embeding swfs.

well now it seems you’ve dropped ufo and are using kimili flash embed…although the ufo issue was most likely you not using proper relative or absolute urls.

that tag error shows up on debugging/test mode but disappears once you set it to live.

Offline

#6 2007-12-21 04:51:05

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: embeding swfs.

>>well now it seems you’ve dropped ufo and are using kimili flash embed…
yes iblastoff ive tried 4 embed methods now and all have the same problem. but i might have just found the reason. Im running the site on a hidden url for testing behind the live site. In my site prefs i have “www.jfl.ie/index.php” for the site url. It seems like that might be the cause of this, i cant really test it till the site goes live though..
colak i dont think that will work.
thanks guys


its a bad hen that wont scratch itself.
photogallery

Offline

#7 2007-12-26 19:48:21

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: embeding swfs.

Put the site live, made the url preference normal and still get the same problem…


its a bad hen that wont scratch itself.
photogallery

Offline

#8 2007-12-26 20:17:50

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: embeding swfs.

did you fix it?

i’m looking at this url : http://www.jfl.ie/index.php/ and i see the flash/animated photo working.

Offline

#9 2007-12-26 22:35:37

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: embeding swfs.

Could it be the path? Because the plugin outputs:

<script type="text/javascript">
	// <![CDATA[
		var so_146671384 = new SWFObject("team.swf","fm_team_146671384","50","50","6","","","","","","");
		so_146671384.write("so_targ_team_146671384");
	// ]]>
</script>

Shouldn’t it be something like /team. Like <txp:kml_flashembed movie="/team.swf" />

PS. the path isn’t http://www.jfl.ie/index.php/ it’s http://www.jfl.ie/index.php

Cheers!

Last edited by Gocom (2007-12-26 22:36:23)

Offline

#10 2007-12-27 10:18:46

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: embeding swfs.

ahh gocom that was it!
thanks

>>did you fix it?

>>i’m looking at this url : http://www.url.ie/index.php/ and i see the flash/animated photo working.

It always worked on the homepage, just on not on the subsequent sections iblastoff.
thanks guys

edited to say that it caches fine as well.

Last edited by kvnmcwebn (2008-01-09 22:47:54)


its a bad hen that wont scratch itself.
photogallery

Offline

Board footer

Powered by FluxBB