| | 29 | |
| | 30 | == Installing flowplayer == |
| | 31 | |
| | 32 | {{{ |
| | 33 | |
| | 34 | cd /var/www/ |
| | 35 | wget http://ovh.dl.sourceforge.net/sourceforge/flowplayer/flowplayer-2.2.4.zip |
| | 36 | unzip flowplayer-2.2.4.zip |
| | 37 | }}} |
| | 38 | |
| | 39 | == Setup the configuration file indytube.conf == |
| | 40 | |
| | 41 | http://plumi.org/browser/indytube/trunk/indytube/INSTALL.plone |
| | 42 | |
| | 43 | {{{ |
| | 44 | vi plumi-0.2-final/indytube/indytube.conf |
| | 45 | }}} |
| | 46 | |
| | 47 | For example: |
| | 48 | |
| | 49 | |
| | 50 | {{{ |
| | 51 | [ffmpeg2theora] |
| | 52 | CORTADO_LOCATION=http://plumi.domainepublic.net/flowplayer/cortado-ov-stripped-0.2.2.jar |
| | 53 | |
| | 54 | [paths] |
| | 55 | |
| | 56 | VIDEO_FILE_DIRECTORY=/opt/Plone-2.5.5/zeocluster/client1/var/files/Members |
| | 57 | FLV_FILE_DIRECTORY=/var/www/plumi-flv-files/ |
| | 58 | INCLUDE_FILE_DIRECTORY=/opt/Plone-2.5.5/zeocluster/client1/var/files/Members |
| | 59 | INCLUDE_FILE_SUFFIX=.flv.inc |
| | 60 | INCLUDE_TEMPLATE=/opt/plumi-0.2-final/indytube/include.template |
| | 61 | |
| | 62 | [urls] |
| | 63 | FLOWPLAYER_LOCATION=http://flv.domainepublic.net/flowplayer/FlowPlayerClassic.swf |
| | 64 | VIDEO_SERVER_URL=http://flv.domainepublic.net/ |
| | 65 | SPLASH_IMAGE_BASE=http://plumi.domainepublic.net/flowplayer/ |
| | 66 | SPLASH_IMAGE_FILE=indytube.jpg |
| | 67 | |
| | 68 | }}} |
| | 69 | |
| | 70 | |
| | 71 | - We must make a symlink to the debian install of cortado |
| | 72 | |
| | 73 | {{{ |
| | 74 | ln -s /usr/share/cortado/cortado-ov-stripped-0.2.2.jar /var/www/flowplayer/cortado-ov-strippe.jar |
| | 75 | }}} |
| | 76 | |
| | 77 | - we must create the directory /var/www/plumi-flv-files/ and give it the right rights |
| | 78 | |
| | 79 | |
| | 80 | {{{ |
| | 81 | mkdir /var/www/plumi-flv-files/ |
| | 82 | chown www-data:www-data -R /var/www/plumi-flv-files/ |
| | 83 | }}} |
| | 84 | |
| | 85 | |
| | 86 | - And create the /opt/indytube directory |
| | 87 | |
| | 88 | |
| | 89 | {{{ |
| | 90 | mkdir /opt/indytube/ |
| | 91 | }}} |
| | 92 | |
| | 93 | - Copy SPLASH_IMAGE_FILE to VIDEO_SERVER_URL |
| | 94 | |
| | 95 | {{{ |
| | 96 | cp /opt/plumi-0.2-final/indytube/indytube.jpg /var/www/ |
| | 97 | }}} |
| | 98 | |
| | 99 | - Copy files for Fullscreen mode to VIDEO_SERVER_URL |
| | 100 | |
| | 101 | {{{ |
| | 102 | |
| | 103 | cp /opt/plumi-0.2-final/indytube/swfobject.js /var/www/ |
| | 104 | cp /opt/plumi-0.2-final/indytube/fullscreen.* /var/www/ |
| | 105 | }}} |