/[drupal]/contributions/modules/video/INSTALL.txt
ViewVC logotype

Contents of /contributions/modules/video/INSTALL.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download)
Wed Jan 3 17:46:19 2007 UTC (2 years, 10 months ago) by fax8
Branch: MAIN
CVS Tags: DRUPAL-6--2-0-BETA1, DRUPAL-6--2-0-BETA2, DRUPAL-6--2-2-BETA1, DRUPAL-5--0-1, DRUPAL-5--1-1, DRUPAL-5--1-0, DRUPAL-5--1-2, DRUPAL-6--1-0, DRUPAL-6--2-2-BETA2, DRUPAL-6--2-1-BETA3, DRUPAL-6--2-1-BETA2, DRUPAL-6--2-1-BETA1, HEAD
Branch point for: DRUPAL-6--2, DRUPAL-5, DRUPAL-6--1
Changes since 1.7: +19 -5 lines
File MIME type: text/plain
Patch #75359 by jrbeeman (http://drupal.org/user/16734):
  Add Views module support
1 // $Id: INSTALL.txt,v 1.7 2006/06/18 14:41:32 fax8 Exp $
2
3 REQUIREMENTS
4 ------------------------------------
5 Optional:
6 Views support requires the Views module to be activated.
7 video_image module require image module to be activated.
8
9
10 INSTALL INSTRUCTIONS FOR VIDEO.MODULE
11 -------------------------------------
12
13 - Copy video folder to modules/
14 - Login as site administrator
15 - Activate video.module as usual (administer->modules)
16 - Activate optional plugin modules (called video_something)
17 - Set access control as you like (administer->access control)
18 - (optional) Activate video.module blocks (administer->blocks)
19 - (optional) Activate video views using views.module
20 * If you are upgrading from a previous version of the video module,
21 go to admin -> modules and choose "Save". This will flush the
22 views cache to ensure you can see the views.
23 * Go to admin -> views. You will see a default view supplied for
24 video. You can also create a new one by choosing "Add." In the
25 "Fields" section, you should see selections for "Video: (node info)".
26
27
28 UPGRADING FROM DRUPAL 4.7 to CVS
29 --------------------------------
30
31 The upgrade process is automated by the video.install file, so
32 be sure you have the correct version of video.install to match
33 the version of video.module you intend to use. If you downloaded
34 a tarball of Video from drupal.org and over-wrote everything in
35 your Video module directory, you should be fine.
36
37 Run the update.php script that comes in the Drupal distribution
38 http://www.example.com/update.php
39
40
41 UPGRADING FROM 4.6 OR 4.6 CVS
42 -----------------------------
43
44 Starting in Drupal 4.7, the video module has an automated upgrade.
45 If you installed and used the stable video 4.6 release, the
46 update.php script that upgrades Drupal will also update the
47 video database schema. http://www.example.com/update.php
48
49 If you decided to use a CVS version of Video for Drupal 4.6, you
50 can still take advantage of the automated ugprade, but you will
51 need to select an update version number when you run update.php.
52
53 The following is a key of upgrade version numbers for Video CVS
54 database schemas between the Drupal 4.6 and Drupal 4.7
55 changes. When you find a database schema that matches your
56 existing schema, select the corresponding update.php version
57 number when you run update.php. You can get your current database
58 schema by looking at the old video.mysql file you used to create
59 your video table or execute the following SQL query:
60 `DESCRIBE video;`
61
62 Some differences between versions are subtle, but important, so
63 make sure you verify your video table is an actual fit, not just
64 "close enough".
65
66 VIDEO UPDATE.PHP VERSION 2
67 --------------------------
68
69 CREATE TABLE video (
70 nid int(10) unsigned NOT NULL default '0',
71 vidfile text NOT NULL,
72 videox smallint(4) NOT NULL default '0',
73 videoy smallint(4) NOT NULL default '0',
74 size bigint(13) default NULL,
75 clicks int(10) unsigned NOT NULL default '0',
76 video_bitrate int(11) default NULL,
77 audio_bitrate int(11) default NULL,
78 audio_sampling_rate int(11) default NULL,
79 audio_channels enum('','stereo','mono') default NULL,
80 playtime_seconds int(11) default NULL,
81 PRIMARY KEY (nid)
82 ) TYPE=MyISAM COMMENT='size is in bytes';
83
84
85 VIDEO UPDATE.PHP VERSION 3
86 --------------------------
87
88 CREATE TABLE video (
89 nid int(10) unsigned NOT NULL default '0',
90 vidfile text NOT NULL,
91 videox smallint(4) NOT NULL default '0',
92 videoy smallint(4) NOT NULL default '0',
93 size bigint(13) default NULL,
94 download_counter int(10) unsigned NOT NULL default '0',
95 play_counter int(10) unsigned NOT NULL default '0',
96 video_bitrate int(11) default NULL,
97 audio_bitrate int(11) default NULL,
98 audio_sampling_rate int(11) default NULL,
99 audio_channels enum('','5.1','stereo','mono') default NULL,
100 playtime_seconds int(11) default NULL,
101 download_folder varchar(255) NULL default NULL,
102 disable_multidownload tinyint(1) NOT NULL default '0',
103 use_play_folder tinyint(1) NOT NULL default '0',
104 custom_field_1 varchar(255) NULL default NULL,
105 custom_field_2 varchar(255) NULL default NULL,
106 custom_field_3 varchar(255) NULL default NULL,
107 custom_field_4 varchar(255) NULL default NULL,
108 custom_field_5 text NULL default NULL,
109 custom_field_6 text NULL default NULL,
110 PRIMARY KEY (nid)
111 ) TYPE=MyISAM COMMENT='size is in bytes';
112
113
114 VIDEO UPDATE.PHP VERSION 4
115 --------------------------
116
117 -- $Id: INSTALL.txt,v 1.7 2006/06/18 14:41:32 fax8 Exp $
118 CREATE TABLE video (
119 nid int(10) unsigned NOT NULL default '0',
120 vidfile text NOT NULL default '',
121 videox smallint(4) unsigned NOT NULL default '0',
122 videoy smallint(4) unsigned NOT NULL default '0',
123 size bigint(13) unsigned default NULL,
124 download_counter int(10) unsigned NOT NULL default '0',
125 play_counter int(10) unsigned NOT NULL default '0',
126 video_bitrate int(11) unsigned default NULL,
127 audio_bitrate int(11) unsigned default NULL,
128 audio_sampling_rate int(11) unsigned default NULL,
129 audio_channels enum('','5.1','stereo','mono') default NULL,
130 playtime_seconds int(11) unsigned default NULL,
131 download_folder varchar(255) NULL default NULL,
132 disable_multidownload tinyint(1) unsigned NOT NULL default '0',
133 use_play_folder tinyint(1) unsigned NOT NULL default '0',
134 custom_field_1 varchar(255) NULL default NULL,
135 custom_field_2 varchar(255) NULL default NULL,
136 custom_field_3 varchar(255) NULL default NULL,
137 custom_field_4 varchar(255) NULL default NULL,
138 custom_field_5 text NULL default NULL,
139 custom_field_6 text NULL default NULL,
140 PRIMARY KEY (nid)
141 ) TYPE=MyISAM COMMENT='size is in bytes';
142
143
144 VIDEO UPDATE.PHP VERSION 5
145 --------------------------
146
147 -- $Id: INSTALL.txt,v 1.7 2006/06/18 14:41:32 fax8 Exp $
148 CREATE TABLE video (
149 vid int(10) unsigned NOT NULL default '0',
150 nid int(10) unsigned NOT NULL default '0',
151 vidfile text NOT NULL default '',
152 videox smallint(4) unsigned NOT NULL default '0',
153 videoy smallint(4) unsigned NOT NULL default '0',
154 size bigint(13) unsigned default NULL,
155 download_counter int(10) unsigned NOT NULL default '0',
156 play_counter int(10) unsigned NOT NULL default '0',
157 video_bitrate int(10) unsigned default NULL,
158 audio_bitrate int(10) unsigned default NULL,
159 audio_sampling_rate int(10) unsigned default NULL,
160 audio_channels enum('','5.1','stereo','mono') default NULL,
161 playtime_seconds int(10) unsigned default NULL,
162 download_folder varchar(255) NULL default NULL,
163 disable_multidownload tinyint(1) unsigned NOT NULL default '0',
164 use_play_folder tinyint(1) unsigned NOT NULL default '0',
165 custom_field_1 varchar(255) NULL default NULL,
166 custom_field_2 varchar(255) NULL default NULL,
167 custom_field_3 varchar(255) NULL default NULL,
168 custom_field_4 varchar(255) NULL default NULL,
169 custom_field_5 text NULL default NULL,
170 custom_field_6 text NULL default NULL,
171 serialized_data text NULL default NULL,
172 PRIMARY KEY (vid)
173 ) TYPE=MyISAM COMMENT='size is in bytes';
174
175 VIDEO UPDATE.PHP VERSION 6
176 --------------------------
177
178 -- $Id: INSTALL.txt,v 1.7 2006/06/18 14:41:32 fax8 Exp $
179 CREATE TABLE video (
180 vid int(10) unsigned NOT NULL default '0',
181 nid int(10) unsigned NOT NULL default '0',
182 vidfile text NOT NULL default '',
183 videox smallint(4) unsigned NOT NULL default '0',
184 videoy smallint(4) unsigned NOT NULL default '0',
185 size bigint(13) unsigned default NULL,
186 download_counter int(10) unsigned NOT NULL default '0',
187 play_counter int(10) unsigned NOT NULL default '0',
188 video_bitrate int(10) unsigned default NULL,
189 audio_bitrate int(10) unsigned default NULL,
190 audio_sampling_rate int(10) unsigned default NULL,
191 audio_channels enum('','5.1','stereo','mono') default NULL,
192 playtime_seconds int(10) unsigned default NULL,
193 download_folder varchar(255) NULL default NULL,
194 disable_multidownload tinyint(1) unsigned NOT NULL default '0',
195 use_play_folder tinyint(1) unsigned NOT NULL default '0',
196 custom_field_1 varchar(255) NULL default NULL,
197 custom_field_2 varchar(255) NULL default NULL,
198 custom_field_3 varchar(255) NULL default NULL,
199 custom_field_4 varchar(255) NULL default NULL,
200 custom_field_5 text NULL default NULL,
201 custom_field_6 text NULL default NULL,
202 serialized_data text NULL default NULL,
203 PRIMARY KEY (vid)
204 ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;

  ViewVC Help
Powered by ViewVC 1.1.2