One of the most overlooked things when setting up the FlashVideo module, is preparing your web server to allow for the type of uploads required to make the module run... namely videos! In order for the FlashVideo module to work according to design, some parameters need to be set in your php.ini file or the root .htaccess file. These parameters are as follows...
- post_max_size - The maximum allowed POST size. Must be greater than or equal to Maximum Upload Size.
- upload_max_filesize - The maximum allowed file upload size.
- max_execution_time - The maximum allowed time (in seconds) that a script is allowed to run. Needed for long file conversions.
- max_input_time - The maximum time (in seconds) a script is allowed to parse input data, like POST, GET and file uploads. Needed to keep large uploads from timing out.
The following shows the recommended values for these parameters.
- Recommended Settings for php.ini:
- post_max_size=100M
- upload_max_filesize=100M
- max_execution_time=1000
- max_input_time=1000
If you do not have access to the php.ini file, then you can easily change these settings in the .htaccess file in the root of your Drupal installation. However, with this file, you need to provide these parameters by using the php_value parameter followed by the parameter name and then the actual value.. These parameters can be specified like the following.
- Recommended Settings for .htaccess file:
- php_value post_max_size 100M
- php_value upload_max_filesize 100M
- php_value max_execution_time 1000
- php_value max_input_time 1000
Warning: Please consult your hosting provider or a professional before making the Recommeneded changes. Drupal or the writers of the FlashVideo module will not be held responsible for any malfunctions due to this change. Change these PHP settings at your own risk!
- Step 1: Get FFMPEG
- Step 2: Set up your php.ini file for FlashVideo <-- You are here!
- Step 3: Get the FlashVideo Module
- Step 4: Download Joroen Wijering's Flash Player
- Step 5: Set up a Cron Task
- Step 6: Create a Content Template.
- Step 7: Create your Page!
- Troubleshooting the FlashVideo Module




php error
Found following error and included a workaround (not familiar with php just with google)
Parse error: syntax error, unexpected $end in C:\wamp\www\site\modules\flashvideo\flashvideo-flash.tpl.php on line 17
Changing php.ini (short_open_tag = off -> on) fixed this problem.
Using drupal 6.2 and php 5.2.5, works like a charm now, thanks alot for this piece of art!
better always use '<?php'
Well, I just changed to drupal 6.2 and was promptly bitten by this, too
@Travis: I don't know if changing short_open_tag will always be allowed, so would you please always use '<?php' in the next release?
I hope there aren't too many places where this occurs, because I'm going to correct it in my copy now :-)