When serving local video files, we have to consider first how a video will be placed onto the server and if we require any manipulation of the video. We may wish to use an upload field from a web form, or we may wish to use FTP to upload large files, or we may wish to be able to email a video to the server as from a cell phone. All of these options are available, so we will examine each in turn.
The first heavy hitter is the FileField module. This light-weight module goes a long way. At its most basic level, it adds the functionality of the core Upload
module to CCK
. Besides serving as an invisible API for ImageField
, it can also expose file uploads as fields. The module supports any file type such as .txt, .pdf
, images, video, or audio.
Before continuing, if you haven't already, you'll need to install the FileField module by downloading and enabling it from http://drupal.org/project/filefield.
Now we'll create a new content type called Cartoon. You'll need to...