In this post I will show you how I have mounted a streaming video server like youtube with my Apache server. Nwadays is one choice to do pseudostreaming that we know . The idea was inserting a video in a customer page, and show my video cv at my web curriculum.
Install the development package for Apache to compile the streaming module:
apt-get install apache-dev apache2-threaded-dev
Download theFLV streaming module, and compile it:
apxs2 -i -a -c mod_flvx.c
Now Apache must to load the module when boot, and make a stream forevery flv file.Create flvx.load flie:
LoadModule flvx_module /usr/lib/apache2/modules/mod_flvx.so
And flvx.conf with:
AddHandler flv-stream .flv
To load it when apache boots, copy them into:
To see the videos the client mus download in the begining a flash video player wich manage the video transmision. We choose flash Flowplayer, so it seems good and have a GPL version (GPL).
<a href="http://your.site/url/al/video.flv" style="display:block;width:520px;height:330px" id="player"> </a> <!-- this will install flowplayer inside previous A- tag. --> <script> flowplayer("player", "../flowplayer-3.1.4.swf"); </script>