Configuring Video Module - Drupal 6

Now that Video module is installed, it's time to configure it from Admin > Settings > Video (admin/settings/video). Configuration is split into tabs:
General

These options allow you to control how the Video module acts.

Players

Each video extension, has a Drop down choice for the type of player to be used for the video, when selecting SWF Player or FLV Flash Players, a radio list will appear with a choice of Flash players. If you are using Zencoder/Amazon S3 configuration please use Flowplayer *without* Flowplayer enabled in SWF Tools as they share the same folder name and will conflict.

Transcoders

On the transcoder page you have a choice of three built in transcoders, if you would like to use ffmpeg_wrapper module, you can do so from here, otherwise you will be using FFMPEG or Zencoder.

FFMPEG and FFMPEG Wrapper both will use locally installed FFMPEG so, it is REQUIRED (ffmpeg.org/) to have installed the FFMPEG on your server, FFMPEG will only have basic options but for advanced FFMPEG like watermarking etc I prefer the FFMPEG Wrapper. FFMPEG is processor intensive and you will need to have fast server and lot of resources to handle FFMPEG properly, so if you need light weight, fast way to convert videos or if your in a shared hosting you can use Zencoder transcoding API. Zencoder is a award winning video delivery platform. www.zencoder.com/

When a node is created, create and reference to another node

Attached is an example on the use of Rules to automatically create and refer to a node when content of selected types is posted. In the example Story, nodes have references to Page nodes, and when a Story is submitted a Page is automatically created and referenced from the Story (using a standard CCK node reference field).

Making user-contributed content easier, with WYSIWYG

On this page

Now that you have added some content to your site, you might have realized that your options were quite limited on how your text was entered.

Filtered HTML and Full HTML may be useful for you as the Administrator, but if your users are going to be posting comments and articles perhaps they should have more options.

WYSIWYG

Drupal is an ever growing community with (literally) thousands of contributed modules. One of the more useful contributed modules to look into for your site-users (or yourself, we won't tell) is the WYSIWYG module.

Drupal 6 - Dynamic image block accessing to Image gallery

Indroduction

We want a dynamic block that shows images one by one randomly with a transition effect. From there, users can click on this block to access the image gallery in a shadowbox.

Creating a FTP based Photo Sharing site

This allows anyone to upload a image file via FTP and a "Image" node is created automatically from it. It was developed as internal company project where the UI team can take screenshots of their design and let other comment on it, tag it, etc.

Demo : http://www.youtube.com/watch?v=E8snwivQxgY

Note : This involves hacking the Image and Image import module.

Step 1 :
Enable the Image, Image Gallery and Image import modules.

Step 2 :
Importing the images from the FTP directory as image nodes in Drupal. This uses the _image_import_batch_op() function from the "Import image" module.

Need to add a small function to "Import image" module.

File : image/contrib/image/image_import/image_import.module

Add the following lines to the end of the file :


function image_import_init() {
/**** Replace this with the path of the FTP Image direcectory ****/
$upload_dir = "/var/www/html/ps/sites/default/files/uploads/";
include("image_import.pages.inc");
$directory_handle = opendir($upload_dir);
while (($filename = readdir($directory_handle)) !== false)
{
/* If filename is a directory ignore */
if (filetype($upload_dir . $filename) == 'dir')
continue;

/* check valid image */
$filename_arr = explode(".", $filename);
$filename_ext = $filename_arr[sizeof($filename_arr) -1 ];

Comparison of email newsletter oriented modules

Sending newsletters with site updates is a common task, as is sending out one off special notifications. Which module is the best choice?

Here are mail oriented modules, both modules that send mail and modules that connect to external services.

Pages

Subscribe with RSS Subscribe to RSS - Needs copy/style review