| 1 |
$Id: FILE_TYPES.txt,v 1.8.2.2 2008/02/11 06:00:21 fax8 Exp $
|
| 2 |
|
| 3 |
FILE TYPE INFORMATIONS
|
| 4 |
--------------------------
|
| 5 |
|
| 6 |
Video.module for Drupal 4.7 supports multiple video formats.
|
| 7 |
|
| 8 |
.mov, .wmv, .asf, .rm, .3gp, .mp4, .swf, .dir, .dcr
|
| 9 |
These files type are supported out the box.
|
| 10 |
To play these file types you need to enter in the path to the file.
|
| 11 |
If your video is on the same webserver as drupal, you can use a path relative
|
| 12 |
to the drupal directory, like "downloads/video.mov".
|
| 13 |
If your video is on another server you can enter the URI to the video
|
| 14 |
like "http://www.example.com/videos/my-video.mov".
|
| 15 |
The .mp4 and .3gp extentions use the Quicktime player.
|
| 16 |
The .dir and .dcr extentions use the Director player.
|
| 17 |
|
| 18 |
If you need to add additional object parameters to swf or dir videos you
|
| 19 |
can enable the "Allow adding of parameters to object HTML" option. Then
|
| 20 |
in the video creation page you will be able to specify the parameters.
|
| 21 |
|
| 22 |
YouTube.com support
|
| 23 |
You can host videos on youtube.com and put them on your site.
|
| 24 |
To do this, after you upload the video on youtube.com enter
|
| 25 |
the video ID into the "Video File" field. If the URI youtube.com gives
|
| 26 |
you for the video is "http://www.youtube.com/watch.php?v=XM4QYXPf-s8"
|
| 27 |
you would enter "XM4QYXPf-s8".
|
| 28 |
|
| 29 |
Google Video support
|
| 30 |
You can host videos on video.google.com and put them on your site.
|
| 31 |
To do this, after you upload the video on Google video enter get the
|
| 32 |
the embed code. In this code you will find an attribute like
|
| 33 |
src="http://video.google.com/googleplayer.swf?docId=-1591729516923874694" .
|
| 34 |
You will need the -1591729516923874694 like number just after docId= .
|
| 35 |
Then use "google:-1591729516923874694" as video file value.
|
| 36 |
|
| 37 |
.flv
|
| 38 |
Video.module for drupal 4.7 now support Macromedia Flash FLV Videos
|
| 39 |
using FlowPlayer version 1.10 or above ( http://flowplayer.sourceforge.net/ ).
|
| 40 |
To use .flv files simply download Flowplayer and put the file
|
| 41 |
called "FlowPlayer.swf" or "Player.swf" into your Drupal folder.
|
| 42 |
Then set the Flash player file name to use on the Flash settings in video module configuration page.
|
| 43 |
|
| 44 |
.ogg
|
| 45 |
Ogg Theora videos, video.module uses the java applet cortado to display Ogg Theora files,
|
| 46 |
you can find the latest version of cortado at http://www.flumotion.net//jar/cortado/
|
| 47 |
get http://www.flumotion.net//jar/cortado/cortado-ovt-stripped-0.2.0.jar
|
| 48 |
and put it into your Drupal folder as cortado.jar
|
| 49 |
[
|
| 50 |
NOTE, at the time of writing, cortado.jar had a bug that caused it to fail with drupal.
|
| 51 |
you can get a patched version of cortado.jar that works from http://v2v.cc/~j/cortado.jar
|
| 52 |
and the bug related to this issue: https://core.fluendo.com/flumotion/trac/ticket/387
|
| 53 |
]
|