I would love to be able to use .swf files as my images.

Comments

nancydru’s picture

If you can tell me how to do it, I would consider it. BTW, animated GIFs are already supported.

wadley0’s picture

There are probably better ways of doing it but minimally we simply need:

<object width="550" height="400">
<param name="movie" value="path/to/somefilename.swf">
<embed src="path/to/somefilename.swf" width="550" height="400">
</embed>
</object>

Which by itself is not much more complicated than the image code.

If you feel up to it you could use a more advanced method such as swfobject (http://blog.deconcept.com/swfobject/) which would allow for plugin detection, and the providing of alternate content.

...or maybe use the 'swf tools' plugin...

but the minimal is ok with me for now.

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

Can this be uploaded on the term edit page?

wadley0’s picture

I'm not sure what you mean...

The flash file ('somefile.swf') would be uploaded on the term edit page, but the rest of the code would have to be inserted by the plugin(some sort of if .swf then use this code instead). would it not?

nancydru’s picture

That's what I'm asking. If you CAN upload it, then I can make the change in the module somehow.

wadley0’s picture

oh... right... gotcha. sorry.

I've tested it, and yes, it does allow me to upload a .swf file via the term edit page.

nancydru’s picture

Status: Postponed (maintainer needs more info) » Active

Thank you. I will look into how to do this.

nancydru’s picture

@wadley0: You don't have your contact page enabled, so I can't send you email. I need one or two sample swf's to test with. You can send them to (remove the trees): nan_wich pine @ bellsouth pine . pine com

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

Fix committed to -dev releases.

It originally broke 6.x because the file upload validators don't recognize "swf" as an image type. I had to remove that validation.

nancydru’s picture

Status: Fixed » Closed (fixed)