Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-10-31 14:29:50
- wii
- Member
- Registered: 2005-05-08
- Posts: 77
Insert Flash code ?
Hi, except for the option to insert flash using iframes, how can I insert Flash code that validates ? Like this:
<div id=“flashcontent”>
<h1>Oops!</h1>
<p>It looks like you don’t have flash player 6 installed. <a href=“http://www.macromedia.com/go/getflashplayer” >Click here</a> to go to Macromedia download page.
</p>
</div>
<script type=“text/javascript”>
var so = new SWFObject(“flashGallery.swf”, “gallery”, “100%”, “100%”, “6”, “#FFFFFF”);
Offline
Re: Insert Flash code ?
Have you considered using UFO or SWFObject? I see that you’re trying to use SWFObject in the code shown above. Is this true?
They’re both really nice libraries that auto-detect flash and them either embed the flash movie or show alternate content.
Offline
#3 2006-10-31 15:03:10
- wii
- Member
- Registered: 2005-05-08
- Posts: 77
Re: Insert Flash code ?
Yes, the code above works fine, but textpattern won´t allow me to use this code in an article, how can I do this ? The only way I see now is to include the code in the template, not the article itself.
Offline
Re: Insert Flash code ?
Yeah, the other thing you might want to check for would be a plugin that enables use within articles. That would work….I think I even saw that someone had written one for SWFObject already.
Offline
Pages: 1