Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-01-21 19:14:44
- MikeTheVike
- Member
- Registered: 2008-06-17
- Posts: 47
having problems embedding flash files...
I’m familiar with SWFObject for flash embedding, and I also tried out kimili’s flash embed plugin, but I get the same problem no matter what I try, so I think it has to do with something else. Plus the flash works if I use it in a html page that isn’t in textpattern.
Using SWFObject and kimili’s plugin it always loads the alternate text, it won’t load the flash file. I tried using the default embedding code that Flash outputs when publishing. Again, it works on a separate html page, but when used in a textpattern page it says “This page requires AC_RunActiveContent.js”. AC_RunActiveContent.js IS uploaded and in the same directory as everything else, permissions are fine on all files. I just don’t understand why it’s not working in Textpattern. Any ideas?
Offline
#2 2009-01-21 19:25:46
- MikeTheVike
- Member
- Registered: 2008-06-17
- Posts: 47
Re: having problems embedding flash files...
I think this might have something to do with the url’s texpattern generates for the pages of my site. It’s acting like it can’t find the files.
If my site link is “http://www.blahblah.com/folder1/textpattern/” all my flash files and javascript files are in the textpattern directory.
But if I click on a new page and the url is http://www.blahblah.com/folder1/textpattern/page1/ then that might mess with the linking of the flash file…I’m not sure how this works, so any help would be awesome, thanks!
Offline
#3 2009-01-21 20:11:22
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: having problems embedding flash files...
Then I think you are using relative URLs. Try this (if your site root is www.blahblah.com/folder1/):
<script type="text/javascript" src="<txp:site_url />textpattern/AC_RunActiveContent.js"></script>
Last edited by els (2009-01-21 20:12:13)
Offline