Added by Travis Wu, last edited by Travis Wu on Sep 19, 2008  (view change)

Labels:

vod vod Delete
howto howto Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Beta version howto

If you are using the beta version. You should know that this is a complete package of VideoDB 3.01 with VOD patch.

Server side

  1. extract the package
  2. make sure apache can read it:
    chown -R www-data:www-data videodb301withVOD
  3. copp your config.inc.php file over.
  4. Login to your videoDB, configure the VOD path. Note: use relative path. e.g: if your video folder is the folloring:
    /var/www/videodbblah/video
    then the correct path should be:
    video
    . yes without the trailing slash.
  5. clean and empty cache. otherwise you won't see all the thumbnails.
  6. test it.

Client side

I have changed vlcstream:// protocol with http:// hence all you need is installing VLC on your client computer. Windows/Mac/Linux all should work now.


Old documentation

Server Side
  1. == Download ==
    Download the mod and extract the package

  2. == Copy ==
    Move/copy all the files from VOD folder to respective videodb folders - e.g: cp engine/vod.php /var/www/localhost/htdocs/videodb/engine/

  3. == Config ==
    a. make sure your theme is moderm compact
    b. log into videodb as administor and navigate to the configuration page
    c. add the path to your video files (note the path needs to be relative to your videodb)


  4. == video files ===
    All video files need to be placed inside of their own folder.
    E.g:
    your file: save_the_dance.avi

    then it has to be in a folder:
    \save the last dance\save_the_dance.avi

    Remember that the code searches for the folder names but not files.
    Folders can be nested: so you can have something like this:
    xxxxx\video\western\save the last dance\save_the_dance.avi
Client Side

In order to be able to play the videos over network, the client side software needs to be installed.

Windows

Install either the modified VLC or the URI handler from the Download page

Linux

  1. make a file called: vlc.sh under /usr/bin which contains the following:
    !/bin/bash
    /usr/bin/vlc http://$1


  2. put the following into .mozilla/firefox/xxxxxxxx.default/user.js ( if u dont have one, create one)
    user_pref("network.protocol-handler.external.vlcstream", true);
    user_pref("network.protocol-handler.app.vlcstream", "/usr/bin/vlc.sh");