Flash Node
If you just want to add Flash content to nodes without having to worry about writing any HTML or PHP then this module is for you! Create a flash node, upload an swf file, and hit submit, and you have flash on your site.
For more advanced use you can combine flash node with SWF Tools and flash node will accept flv and mp3 files for easy playback. You can use the flash node input filter to re-use your flash content in other nodes. Or use PHP to construct flashvars strings to let flash elements react to your site.
2008-09-07
Flash node and SWF Tools 6 are now released!
SWF Tools 6 is now available for Drupal 6 so there is a new release of flash node to support it. You must use flash node 6.x-2.0 or higher to work with SWF Tools 6. Before getting started please take a few moments to review the notes below.
First, if you are upgrading an existing Drupal 5 site then please make sure to read the update instructions before starting your site migration. If you are using flash node 5.x.3.1 or earlier and don't follow the instructions your flash node content will break!
Second, there are some new features in flash node, such as the ability to import flash content that has been uploaded by other methods, e.g. FTP. Access controls are now more granular, in keeping with the changes elsewhere in Drupal 6. It is now possible to disable access to some of the settings on the node page so you can allow users to upload flash content but not necessarily access other settings. It is also now possible to limit the size of a displayed movie in teaser view in addition to limiting the size in full view. The settings page now lets you specify what types of file different user roles are able to upload, and also shares upload limits with the upload module, so you can limit the size of file that a user can supply, and also limit the total amount of data they can upload.
Third, if you are updating from flash node 6.x-1.x then remember to run update.php as there is a change to the data table in order to support the new ability to pass parameters such as wmode.
Finally, if you are looking for a quick and easy way to put flash on your site without needing to write any code then flash node still does that just as easily as it always did. For simple display you still shouldn't need to do anything more than choose the file you want to display!
Overview of Flashnode
First and foremost, Flashnode is designed to make it very easy to add flash content to your Drupal site. When you install the module a new content type 'Flash' is added. When you create Flash content you simply choose the swf, flv or mp3 file you want to upload and specify whether the content should be displayed in the teaser, the full view, or both. When you hit submit your content will be displayed. That's all there is to it!
The module adds a new filter that you can add to your input filters. This lets you re-use flash content in other nodes by using the format [flashnode|nid=nn]. The filter includes options to size and scale the content where it is re-used. The filter can also be used to pass flashvars parameters to a flash file, for example, to run a flash audio player. A help page is included in the module that details the available options in the filter.
For more advanced content you can assign flashvars on the node creation page, and you can generate flashvars via PHP code if the input format allows it. Javascript substitution text is user definable for more advanced content display. To help with movies such as media players, image rotators or xml based content flash node supports the base parameter to help the Flash player find related files. This means flash node integrates nicely with the upload module to provide management of all the files associated with an item of flash content.
If you upload flv or mp3 content and have SWF Tools enabled then the file will be rendered using the player that you choose via the SWF Tools configuration page. SWF Tools comes with its own basic players, or you can download and activate others.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.2 | 2008-Oct-03 | 33.65 KB | Download · Release notes | Recommended for 6.x | |
| 5.x-5.5 | 2008-Oct-03 | 29.93 KB | Download · Release notes | Recommended for 5.x | |
| 4.7.x-1.1 | 2007-May-06 | 14.98 KB | Download · Release notes | Recommended for 4.7.x | |
