You are here

INSTALL.txt in Video 6

REQUIREMENTS
------------------------------------
Optional:
  Views support requires the Views module to be activated.
  video_image module require image module to be activated.


INSTALL INSTRUCTIONS FOR VIDEO.MODULE
-------------------------------------

- Copy video folder to modules/
- Login as site administrator
- Activate video.module as usual (administer->modules)
- Activate optional plugin modules (called video_something)
- Set access control as you like (administer->access control)
- (optional) Activate video.module blocks (administer->blocks)
- (optional) Activate video views using views.module
  * If you are upgrading from a previous version of the video module,
    go to admin -> modules and choose "Save".  This will flush the
    views cache to ensure you can see the views.
  * Go to admin -> views.  You will see a default view supplied for
    video.  You can also create a new one by choosing "Add."  In the
    "Fields" section, you should see selections for "Video: (node info)".


UPGRADING FROM DRUPAL 4.7 to CVS
--------------------------------

The upgrade process is automated by the video.install file, so
be sure you have the correct version of video.install to match
the version of video.module you intend to use. If you downloaded
a tarball of Video from drupal.org and over-wrote everything in
your Video module directory, you should be fine.

Run the update.php script that comes in the Drupal distribution
  http://www.example.com/update.php


UPGRADING FROM 4.6 OR 4.6 CVS
-----------------------------

Starting in Drupal 4.7, the video module has an automated upgrade.
If you installed and used the stable video 4.6 release, the
update.php script that upgrades Drupal will also update the
video database schema. http://www.example.com/update.php

If you decided to use a CVS version of Video for Drupal 4.6, you
can still take advantage of the automated ugprade, but you will
need to select an update version number when you run update.php.

The following is a key of upgrade version numbers for Video CVS
database schemas between the Drupal 4.6 and Drupal 4.7
changes. When you find a database schema that matches your
existing schema, select the corresponding update.php version
number when you run update.php. You can get your current database
schema by looking at the old video.mysql file you used to create
your video table or execute the following SQL query:
  `DESCRIBE video;`

Some differences between versions are subtle, but important, so
make sure you verify your video table is an actual fit, not just
"close enough".

VIDEO UPDATE.PHP VERSION 2
--------------------------

  CREATE TABLE video (
    nid int(10) unsigned NOT NULL default '0',
    vidfile text NOT NULL,
    videox smallint(4) NOT NULL default '0',
    videoy smallint(4) NOT NULL default '0',
    size bigint(13) default NULL,
    clicks int(10) unsigned NOT NULL default '0',
    video_bitrate int(11) default NULL,
    audio_bitrate int(11) default NULL,
    audio_sampling_rate int(11) default NULL,
    audio_channels enum('','stereo','mono') default NULL,
    playtime_seconds int(11) default NULL,
    PRIMARY KEY  (nid)
  ) TYPE=MyISAM COMMENT='size is in bytes';


VIDEO UPDATE.PHP VERSION 3
--------------------------

  CREATE TABLE video (
    nid int(10) unsigned NOT NULL default '0',
    vidfile text NOT NULL,
    videox smallint(4) NOT NULL default '0',
    videoy smallint(4) NOT NULL default '0',
    size bigint(13) default NULL,
    download_counter int(10) unsigned NOT NULL default '0',
    play_counter int(10) unsigned NOT NULL default '0',
    video_bitrate int(11) default NULL,
    audio_bitrate int(11) default NULL,
    audio_sampling_rate int(11) default NULL,
    audio_channels enum('','5.1','stereo','mono') default NULL,
    playtime_seconds int(11) default NULL,
    download_folder varchar(255) NULL default NULL,
    disable_multidownload tinyint(1) NOT NULL default '0',
    use_play_folder tinyint(1) NOT NULL default '0',
    custom_field_1 varchar(255) NULL default NULL,
    custom_field_2 varchar(255) NULL default NULL,
    custom_field_3 varchar(255) NULL default NULL,
    custom_field_4 varchar(255) NULL default NULL,
    custom_field_5 text NULL default NULL,
    custom_field_6 text NULL default NULL,
    PRIMARY KEY  (nid)
  ) TYPE=MyISAM COMMENT='size is in bytes';


VIDEO UPDATE.PHP VERSION 4
--------------------------

  CREATE TABLE video (
    nid int(10) unsigned NOT NULL default '0',
    vidfile text NOT NULL default '',
    videox smallint(4) unsigned NOT NULL default '0',
    videoy smallint(4) unsigned NOT NULL default '0',
    size bigint(13) unsigned default NULL,
    download_counter int(10) unsigned NOT NULL default '0',
    play_counter int(10) unsigned NOT NULL default '0',
    video_bitrate int(11) unsigned default NULL,
    audio_bitrate int(11) unsigned default NULL,
    audio_sampling_rate int(11) unsigned default NULL,
    audio_channels enum('','5.1','stereo','mono') default NULL,
    playtime_seconds int(11) unsigned default NULL,
    download_folder varchar(255) NULL default NULL,
    disable_multidownload tinyint(1) unsigned NOT NULL default '0',
    use_play_folder tinyint(1) unsigned NOT NULL default '0',
    custom_field_1 varchar(255) NULL default NULL,
    custom_field_2 varchar(255) NULL default NULL,
    custom_field_3 varchar(255) NULL default NULL,
    custom_field_4 varchar(255) NULL default NULL,
    custom_field_5 text NULL default NULL,
    custom_field_6 text NULL default NULL,
    PRIMARY KEY  (nid)
  ) TYPE=MyISAM COMMENT='size is in bytes';


VIDEO UPDATE.PHP VERSION 5
--------------------------

  CREATE TABLE video (
    vid int(10) unsigned NOT NULL default '0',
    nid int(10) unsigned NOT NULL default '0',
    vidfile text NOT NULL default '',
    videox smallint(4) unsigned NOT NULL default '0',
    videoy smallint(4) unsigned NOT NULL default '0',
    size bigint(13) unsigned default NULL,
    download_counter int(10) unsigned NOT NULL default '0',
    play_counter int(10) unsigned NOT NULL default '0',
    video_bitrate int(10) unsigned default NULL,
    audio_bitrate int(10) unsigned default NULL,
    audio_sampling_rate int(10) unsigned default NULL,
    audio_channels enum('','5.1','stereo','mono') default NULL,
    playtime_seconds int(10) unsigned default NULL,
    download_folder varchar(255) NULL default NULL,
    disable_multidownload tinyint(1) unsigned NOT NULL default '0',
    use_play_folder tinyint(1) unsigned NOT NULL default '0',
    custom_field_1 varchar(255) NULL default NULL,
    custom_field_2 varchar(255) NULL default NULL,
    custom_field_3 varchar(255) NULL default NULL,
    custom_field_4 varchar(255) NULL default NULL,
    custom_field_5 text NULL default NULL,
    custom_field_6 text NULL default NULL,
    serialized_data text NULL default NULL,
    PRIMARY KEY  (vid)
  ) TYPE=MyISAM COMMENT='size is in bytes';

VIDEO UPDATE.PHP VERSION 6
--------------------------

  CREATE TABLE video (
    vid int(10) unsigned NOT NULL default '0',
    nid int(10) unsigned NOT NULL default '0',
    vidfile text NOT NULL default '',
    videox smallint(4) unsigned NOT NULL default '0',
    videoy smallint(4) unsigned NOT NULL default '0',
    size bigint(13) unsigned default NULL,
    download_counter int(10) unsigned NOT NULL default '0',
    play_counter int(10) unsigned NOT NULL default '0',
    video_bitrate int(10) unsigned default NULL,
    audio_bitrate int(10) unsigned default NULL,
    audio_sampling_rate int(10) unsigned default NULL,
    audio_channels enum('','5.1','stereo','mono') default NULL,
    playtime_seconds int(10) unsigned default NULL,
    download_folder varchar(255) NULL default NULL,
    disable_multidownload tinyint(1) unsigned NOT NULL default '0',
    use_play_folder tinyint(1) unsigned NOT NULL default '0',
    custom_field_1 varchar(255) NULL default NULL,
    custom_field_2 varchar(255) NULL default NULL,
    custom_field_3 varchar(255) NULL default NULL,
    custom_field_4 varchar(255) NULL default NULL,
    custom_field_5 text NULL default NULL,
    custom_field_6 text NULL default NULL,
    serialized_data text NULL default NULL,
    PRIMARY KEY  (vid)
  ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;

File

INSTALL.txt
View source
  1. REQUIREMENTS
  2. ------------------------------------
  3. Optional:
  4. Views support requires the Views module to be activated.
  5. video_image module require image module to be activated.
  6. INSTALL INSTRUCTIONS FOR VIDEO.MODULE
  7. -------------------------------------
  8. - Copy video folder to modules/
  9. - Login as site administrator
  10. - Activate video.module as usual (administer->modules)
  11. - Activate optional plugin modules (called video_something)
  12. - Set access control as you like (administer->access control)
  13. - (optional) Activate video.module blocks (administer->blocks)
  14. - (optional) Activate video views using views.module
  15. * If you are upgrading from a previous version of the video module,
  16. go to admin -> modules and choose "Save". This will flush the
  17. views cache to ensure you can see the views.
  18. * Go to admin -> views. You will see a default view supplied for
  19. video. You can also create a new one by choosing "Add." In the
  20. "Fields" section, you should see selections for "Video: (node info)".
  21. UPGRADING FROM DRUPAL 4.7 to CVS
  22. --------------------------------
  23. The upgrade process is automated by the video.install file, so
  24. be sure you have the correct version of video.install to match
  25. the version of video.module you intend to use. If you downloaded
  26. a tarball of Video from drupal.org and over-wrote everything in
  27. your Video module directory, you should be fine.
  28. Run the update.php script that comes in the Drupal distribution
  29. http://www.example.com/update.php
  30. UPGRADING FROM 4.6 OR 4.6 CVS
  31. -----------------------------
  32. Starting in Drupal 4.7, the video module has an automated upgrade.
  33. If you installed and used the stable video 4.6 release, the
  34. update.php script that upgrades Drupal will also update the
  35. video database schema. http://www.example.com/update.php
  36. If you decided to use a CVS version of Video for Drupal 4.6, you
  37. can still take advantage of the automated ugprade, but you will
  38. need to select an update version number when you run update.php.
  39. The following is a key of upgrade version numbers for Video CVS
  40. database schemas between the Drupal 4.6 and Drupal 4.7
  41. changes. When you find a database schema that matches your
  42. existing schema, select the corresponding update.php version
  43. number when you run update.php. You can get your current database
  44. schema by looking at the old video.mysql file you used to create
  45. your video table or execute the following SQL query:
  46. `DESCRIBE video;`
  47. Some differences between versions are subtle, but important, so
  48. make sure you verify your video table is an actual fit, not just
  49. "close enough".
  50. VIDEO UPDATE.PHP VERSION 2
  51. --------------------------
  52. CREATE TABLE video (
  53. nid int(10) unsigned NOT NULL default '0',
  54. vidfile text NOT NULL,
  55. videox smallint(4) NOT NULL default '0',
  56. videoy smallint(4) NOT NULL default '0',
  57. size bigint(13) default NULL,
  58. clicks int(10) unsigned NOT NULL default '0',
  59. video_bitrate int(11) default NULL,
  60. audio_bitrate int(11) default NULL,
  61. audio_sampling_rate int(11) default NULL,
  62. audio_channels enum('','stereo','mono') default NULL,
  63. playtime_seconds int(11) default NULL,
  64. PRIMARY KEY (nid)
  65. ) TYPE=MyISAM COMMENT='size is in bytes';
  66. VIDEO UPDATE.PHP VERSION 3
  67. --------------------------
  68. CREATE TABLE video (
  69. nid int(10) unsigned NOT NULL default '0',
  70. vidfile text NOT NULL,
  71. videox smallint(4) NOT NULL default '0',
  72. videoy smallint(4) NOT NULL default '0',
  73. size bigint(13) default NULL,
  74. download_counter int(10) unsigned NOT NULL default '0',
  75. play_counter 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('','5.1','stereo','mono') default NULL,
  80. playtime_seconds int(11) default NULL,
  81. download_folder varchar(255) NULL default NULL,
  82. disable_multidownload tinyint(1) NOT NULL default '0',
  83. use_play_folder tinyint(1) NOT NULL default '0',
  84. custom_field_1 varchar(255) NULL default NULL,
  85. custom_field_2 varchar(255) NULL default NULL,
  86. custom_field_3 varchar(255) NULL default NULL,
  87. custom_field_4 varchar(255) NULL default NULL,
  88. custom_field_5 text NULL default NULL,
  89. custom_field_6 text NULL default NULL,
  90. PRIMARY KEY (nid)
  91. ) TYPE=MyISAM COMMENT='size is in bytes';
  92. VIDEO UPDATE.PHP VERSION 4
  93. --------------------------
  94. CREATE TABLE video (
  95. nid int(10) unsigned NOT NULL default '0',
  96. vidfile text NOT NULL default '',
  97. videox smallint(4) unsigned NOT NULL default '0',
  98. videoy smallint(4) unsigned NOT NULL default '0',
  99. size bigint(13) unsigned default NULL,
  100. download_counter int(10) unsigned NOT NULL default '0',
  101. play_counter int(10) unsigned NOT NULL default '0',
  102. video_bitrate int(11) unsigned default NULL,
  103. audio_bitrate int(11) unsigned default NULL,
  104. audio_sampling_rate int(11) unsigned default NULL,
  105. audio_channels enum('','5.1','stereo','mono') default NULL,
  106. playtime_seconds int(11) unsigned default NULL,
  107. download_folder varchar(255) NULL default NULL,
  108. disable_multidownload tinyint(1) unsigned NOT NULL default '0',
  109. use_play_folder tinyint(1) unsigned NOT NULL default '0',
  110. custom_field_1 varchar(255) NULL default NULL,
  111. custom_field_2 varchar(255) NULL default NULL,
  112. custom_field_3 varchar(255) NULL default NULL,
  113. custom_field_4 varchar(255) NULL default NULL,
  114. custom_field_5 text NULL default NULL,
  115. custom_field_6 text NULL default NULL,
  116. PRIMARY KEY (nid)
  117. ) TYPE=MyISAM COMMENT='size is in bytes';
  118. VIDEO UPDATE.PHP VERSION 5
  119. --------------------------
  120. CREATE TABLE video (
  121. vid int(10) unsigned NOT NULL default '0',
  122. nid int(10) unsigned NOT NULL default '0',
  123. vidfile text NOT NULL default '',
  124. videox smallint(4) unsigned NOT NULL default '0',
  125. videoy smallint(4) unsigned NOT NULL default '0',
  126. size bigint(13) unsigned default NULL,
  127. download_counter int(10) unsigned NOT NULL default '0',
  128. play_counter int(10) unsigned NOT NULL default '0',
  129. video_bitrate int(10) unsigned default NULL,
  130. audio_bitrate int(10) unsigned default NULL,
  131. audio_sampling_rate int(10) unsigned default NULL,
  132. audio_channels enum('','5.1','stereo','mono') default NULL,
  133. playtime_seconds int(10) unsigned default NULL,
  134. download_folder varchar(255) NULL default NULL,
  135. disable_multidownload tinyint(1) unsigned NOT NULL default '0',
  136. use_play_folder tinyint(1) unsigned NOT NULL default '0',
  137. custom_field_1 varchar(255) NULL default NULL,
  138. custom_field_2 varchar(255) NULL default NULL,
  139. custom_field_3 varchar(255) NULL default NULL,
  140. custom_field_4 varchar(255) NULL default NULL,
  141. custom_field_5 text NULL default NULL,
  142. custom_field_6 text NULL default NULL,
  143. serialized_data text NULL default NULL,
  144. PRIMARY KEY (vid)
  145. ) TYPE=MyISAM COMMENT='size is in bytes';
  146. VIDEO UPDATE.PHP VERSION 6
  147. --------------------------
  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 /*!40100 DEFAULT CHARACTER SET utf8 */;