| 1 |
$Id: INSTALL.txt,v 1.5.2.3 2009/02/25 00:05:26 jhedstrom Exp $
|
| 2 |
|
| 3 |
Video Upload module installation instructions
|
| 4 |
---------------------------------------------
|
| 5 |
|
| 6 |
YouTube Provider
|
| 7 |
----------------
|
| 8 |
|
| 9 |
1) Download the Zend GData client library:
|
| 10 |
|
| 11 |
http://framework.zend.com/download/gdata/
|
| 12 |
|
| 13 |
2) a) Extract the tar archive, and move the subdirectory library/Zend into
|
| 14 |
this directory. For example:
|
| 15 |
|
| 16 |
mv ~/downloads/ZendGdata-1.x.x/library/Zend/ /path/to/drupal/modules/video_upload/providers/youtube
|
| 17 |
|
| 18 |
replacing 1.x.x with the actual version. The current build has been tested with 1.7.2.
|
| 19 |
|
| 20 |
-or-
|
| 21 |
|
| 22 |
b) Install the libary somewhere in the existing PHP include_path of
|
| 23 |
the server.
|
| 24 |
|
| 25 |
3) Enable the Video Upload module via admin/build/modules
|
| 26 |
|
| 27 |
4) Browse to admin/settings/video_upload and complete the necessary
|
| 28 |
fields.
|
| 29 |
|
| 30 |
5) Note, if using the direct upload method (video from user to server,
|
| 31 |
from server to provider), the videos are sent to the provider
|
| 32 |
during cron processing. As such, it may be desirable to have a
|
| 33 |
more frequent cron job so users don't wait too long.
|
| 34 |
|
| 35 |
Additionally, the default PHP settings for upload_max_filesize and
|
| 36 |
post_max_size (8MB) are far too low for handling video, and should
|
| 37 |
be bumped up to a more appropriate limit.
|
| 38 |
|
| 39 |
6) Add a video upload field to a content type and start uploading
|
| 40 |
video.
|
| 41 |
|
| 42 |
7) Make sure that your Drupal site has cron configured
|
| 43 |
(http://drupal.org/cron), since this is how files are transmitted
|
| 44 |
to the video provider.
|
| 45 |
|
| 46 |
8) OPTIONAL: To run tests on this module, add account information to
|
| 47 |
your settings.php file in the form:
|
| 48 |
|
| 49 |
$GLOBALS['video_upload_test_account'] = array(
|
| 50 |
'video_upload_youtube_developer_key' => {KEY},
|
| 51 |
'video_upload_youtube_username' => {USERNAME},
|
| 52 |
'video_upload_youtube_password' => {PASSWORD},
|
| 53 |
);
|