Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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
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
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
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
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
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
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
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
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
Pages: 1