lighttpd中使用mod_flv_streaming+flowplayer模块实现拖动播放/推荐FLV
lighttpd安装配置
下载: http://www.lighttpd.net/download
./configure –prefix=/jeffrey/app/lighttpd-1.4.19 && make && make install
mkdir /jeffrey/app/lighttpd-1.4.19/conf/
mkdir /var/log/lighttpd
cp doc/lighttpd.conf /jeffrey/app/lighttpd-1.4.19/conf/
vi /jeffrey/app/lighttpd-1.4.19/conf/lighttpd.conf
server.modules = (
…..
“mod_access”,
“mod_flv_streaming”,
…….)
flv-streaming.extensions = ( “.flv” )
/app/lighttpd-1.4.19/sbin/lighttpd -f /app/lighttpd-1.4.19/conf/lighttpd.conf
注: 简单修改一下 自带的doc/rc.lighttpd文件,就可以作服务控制脚本了
flowplayer播放器
下载: http://flowplayer.org/
将代码放入lighttpd的webroot目录下,并修改相应html代码,
具体可参照http://flowplayer.org/player/configuration.html
来自:http://blog.zhangjianfeng.com/article/769