Hi,

I'm looking to a way to have a CCK field where the user can put a URL of a .swf (flash game) and then when presenting the node content the .sfw is embeded with the appropriate

elements. Something to allow include flash games into the content in the same way I can do with "Embedded Video Field" module to embed youtube videos just puting the URL of the video. Is the swftools module right for this? I'm digging swftools and docs for 2 hour and I do not understand how to get this done. Thanks for you help.

Comments

alex.cunha’s picture

Today I realized how to use the "Embedded" module to do what I need.

However, it is possible to do the same with SWF Tools? What advantages?

Stuart Greenfield’s picture

Status: Active » Postponed

Branch DRUPAL-6--3 will let you format a CCK link field with SWF Tools. However, I'm not sure if it would work for swf files as SWF Tools won't know what size the related movie is and that causes it problems for embedding. At the moment it's more intended to play mp3 or video files.

I'm going to set this to postponed as I won't actively work on this now, but will try to come back to it later.

In terms of advantage, I can't really think of any. Both modules are designed to embed media on the page. If the embedded module lets you achieve your goal that's good. SWF Tools tries to be very flexible but can't do everything that everyone wants (yet!).