Configuration of Module SWF Tools

Last modified: August 23, 2009 - 22:06

You can easily integrate Flash content on the pages. You can enable support for various media players.

Needed by: FlowPlayer, jquery.flash.js 1 Pixel Out, SimpleViewer, SWFObject, SWFObject2, UFO, Flash Wijering, JW Media Player 4.

Configuration to use the module swftools.

Steps to follow:

1 - Create the folder files inside the site and inside this folder
a folder named playlist.

2 – Place the module swftools (modified) inside the folder
modules of the site.

3 - Activated all the modules that have dependency on swftools.

4 - Then on Administer/SWF Tools/Embedding Settings and on "Files location", on the field "Directory in files where playlist " you put “files”, this is the folder where all the contents to be displayed by the module, either images,
videos and sounds are placed.

We need to create a folder for each content type, mp3 for audio, img for images and flv for videos. Image 1

5- On Administer/SWF Tools/File handling, we should mark plugins we want to work with, in this case we mark: All JW Media Player 4 - Jeroen Wijering, in the Default player for a list of images: You can also mark the Flash Image Rotator - Jeroen Wijering, as auxiliary option (recommended). Image 2 Image 3

6- After, on Generic players we selected the option we want. Autostart MP3 or Autostart FLV. Image 4

7- Administer/Site Configuration/ Entry Form we add the input format with the new filter option "SWF Tools Filter." Image 5

Tests:
To place a single mp3 file.
1 - Create a page.
2 - Assuming that there are mp3 files on files/mp3, we write on the page created

<swf file="mp3/nombre.mp3">

and we mark the input format that was created earlier.

To place several queued mp3 files.

1 - Create a page.

2 – Assuming you have several mp3 files inside files/mp3, place the following code on the page created:

<swflist files="mp3/nombre1.mp3&&mp3/nombre2.mp3&&mp3/nombre3.mp3">

and mark the input format that was created earlier.
Image 6
Input format: Ver Image 7

3- When we test, we will see a logo of Drupal, to change it we go to site\modules\swftools\shared and copy the favorite photo with the name
swftools-default.jpg. Image 8

To place a flv video file.

1 - Create a page.

2 - Assuming you have a flv file in files/flv, we write on the page you created:

<swf file="flv/nombre.flv">

and mark the input format that was created earlier.

3- As with mp3 files you can place several videos as follows:

<swflist files="flv/nombre1. flv && flv /nombre2. flv && flv /nombre3. flv ">

Ver Imagen 9

Sample video: Image 10

To place one or more images in the queue:

1. You create a page.

2. Assuming you have several .jpg files in files/img, place on the page created:

<swflist player="wijering_imagerotator" files="img/nombre1.jpg&&img/nombre2.jpg &&img/nombre3.jpg" width="400" height="300" transition="random">

These values can be changed depending on what you want, and mark the input format that was created earlier.Image 11

Sample Image: Image 12

 
 

Drupal is a registered trademark of Dries Buytaert.