An old project, revived, cleaned up and posted to GitHub.
This is a simple PHP script to generate a web page containing links to videos within a directory of your choosing. For me, I simply symlinked my video directory into my webroot:
Of course, make sure that you have allowed following symlinks in your web server configuration; with Apache2, you need FollowSymLinks. I have not yet tested this script with other web servers, such as Nginx or Lighttpd, but I do not see any reason why they would not work.
I created this script because I wanted an easy and convenient way to stream videos from my file server to my Andoid tablet. I recommend the VLC Android app, but this also works well with the embedded streaming features of most modern browsers. Of course, it also performs excellently while streaming to traditional computers (again, my preferred media player is VLC).