- Accessing Oracle from PHP
- CSS tricks explained
- Conditional fields
- Drupal tips
- Installing Drupal
- Autologout when closing browser
- Block visibility depending on node type
- Editor instead of a text box
- Event calendar
- Hosting provider requirements
- Images
- Increasing upload and memory limit
- Meta tags
- Modifying the maintenance page
- Other fields besides title and body
- Permissions
- Second level primary links block
- Signup form using CCK
- Sticky table header
- Theme issues
- Translations
- Upload progress
- Useful modules
- Video uploads
- HTML / XML code
- PNG hack for IE5/6
I use one of the following methods to handle video:
always required: a mediaplayer
All methods use a mediaplayer which is to be downloaded seperately. I use the JW FLV Player for Flash. You need to unzip it in an empty directory. Then rename the file You might encounter a permission problem when the files directory is not writable nor owned by you, because it was created by Drupal and therefore it is owned by the webserver. If that's the case, then create a PHP file in your Drupal root directory with content like this:
error_reporting(E_ALL);
chmod("sites/default/files", 0777);
and execute it using a webbrowser. Then upload Player.swf to the files directory. Then restore the mode, by replacing 0777 by 0775 and re-execute it using a webbrowser. Finally remove the PHP file to avoid abuse.
optional for methods 2 and 3In addition, for the second and third method, the jQ module is recommended. which method to chooseUse the third method if your video's are already in the correct format and uploaded to the server, for example using FTP or SCP. Use the first or second method if you want to handle video uploads. You need the first method if you have FFMPEG installed on your server and you want to use it to convert your video's to the correct format automatically, if necessary. Video's in FLV-format will remain untouched. Conversions and file moving are handled using cron, so cron must be called before your video's are visible. You can upload multiple video's per node, and you can put the video players anywhere within your body text. Use the second method if your video's are already in the correct format and don't need conversions. The video's are attached to CCK fields, that can appear either above or below your body text. Choose your method below and read on. |
|||