| 1 |
Flash node module
|
| 2 |
-----------------
|
| 3 |
|
| 4 |
IMPORTANT
|
| 5 |
|
| 6 |
If you are about to upgrade your site from Drupal 5 to Drupal 6 then you MUST
|
| 7 |
read UPDATE.txt before beginning your site upgrade.
|
| 8 |
|
| 9 |
In particular, if you are upgrading from flash node 5.x.3.1 or ealier then
|
| 10 |
failure to follow the upgrade instructions will result in your flash content
|
| 11 |
being broken!
|
| 12 |
|
| 13 |
|
| 14 |
Description
|
| 15 |
-----------
|
| 16 |
Flash node is designed to make it very easy to upload flash content on to a
|
| 17 |
Drupal based website. When enabled it creates a new content type called
|
| 18 |
Flash so you can upload movies without writing any code or HTML.
|
| 19 |
|
| 20 |
Flash node can insert flash content on a page using direct embededing via the
|
| 21 |
<object> and <embed> tags.
|
| 22 |
|
| 23 |
Flash node supports a comprehensive set of options to control how the flash
|
| 24 |
content is displayed. With the release of version 6 these controls can now be
|
| 25 |
limited by user role to prevent users from being able to adjust particular
|
| 26 |
settings.
|
| 27 |
|
| 28 |
Flash node can also take advantage of the SWF Tools module
|
| 29 |
(drupal.org/project/swftools) to implement javascript embedding, although at
|
| 30 |
this time SWF Tools hasn't been upgraded to Drupal 6 so this feature is
|
| 31 |
currently unavailable. When combined with SWF Tools you can also upload flv and
|
| 32 |
mp3 files to a flash node. This makes use of the built in SWF Tools media
|
| 33 |
players to output audio and video content.
|
| 34 |
|
| 35 |
|
| 36 |
Using flashnode
|
| 37 |
---------------
|
| 38 |
In its simplest form you simply create a flash node, upload a file, write
|
| 39 |
your body text as normal and hit submit, and the file will display.
|
| 40 |
|
| 41 |
You can set other parameters on the input form and these are found under
|
| 42 |
Basic flash node options and Advanced flash node options. The basic options
|
| 43 |
let you set whether the movie should appear in the teaser, body or both views,
|
| 44 |
and you can also adjust the movie size if required.
|
| 45 |
|
| 46 |
Advanced options let you change the substitution text that appears if using
|
| 47 |
a javascript insertion method, and you can also set flashvars and the base
|
| 48 |
parameter to correctly locate sub-movies.
|
| 49 |
|
| 50 |
If the node is using PHP input format then you can generate flashvars via
|
| 51 |
PHP code to make dynamic movies that receive data from the host website.
|
| 52 |
|
| 53 |
Flashnode also allows you to activate an additional input format that lets you
|
| 54 |
use a simple macro language to re-use flash content on other pages. These
|
| 55 |
take the form [flashnode|nid=nnn] and can be supplemented with parameters to
|
| 56 |
size and scale the content or pass different flashvars.
|
| 57 |
|
| 58 |
Flash node also features an "import" option. It is possible to upload multiple
|
| 59 |
files under the flash directory and use flash node to import and create a node
|
| 60 |
from each one. This feature is found under Administer > Content management >
|
| 61 |
Import Flash.
|
| 62 |
|
| 63 |
|
| 64 |
Documentation
|
| 65 |
-------------
|
| 66 |
Flash node documentation is available at drupal.org/node/214846
|
| 67 |
|
| 68 |
|
| 69 |
Large files!
|
| 70 |
------------
|
| 71 |
Please note that if you are working with large files then you might exceed
|
| 72 |
the upload limit for your Drupal configuration. If this happens then when
|
| 73 |
you submit a flash node you might see a message asking you to upload a valid
|
| 74 |
file even though you provided an swf, mp3 or flv. If you see that message then
|
| 75 |
double check the file size, or try uploading a smaller file.
|
| 76 |
|
| 77 |
; $Id: README.txt,v 1.8 2008/02/26 22:45:39 stuartgreenfield Exp $
|