2 安装JAVA虚拟机 。可从发行版中安装(建议重装系统的话把JAVA选中
,以后就不麻烦了,比如LumaQQ也要用到JAVA),或到
www.sun.com下载jre-1_5_0-linux
-i586-rpm.bin并安装。(为可执行文件,执行./jre-1_5_0- linux-i586-rpm.bin)
3 .安装mplayerplug-in
可在http://mplayerplug-
in.sourceforge.net/download.php下载对应的软件包.(页面上有帮助文件,http:/
/mplayerplug-
in.sourceforge.net/install.php E文不好的兄弟可使用Google的翻译功能。
如若安装编译成功就可将生成的so文件文件拷贝到Firefox的
plugins目录,xpt文件拷贝到component目录中
。(视具体情况而定,一般是在/usr/lib/firefox下
),然后将so文件和xpt文件一起放入 ~/.mozilla/plugins 下。
最后,进入mplayerplug-in/po, make install.
4 添加流媒体支持。
在地址栏中输入about:config,在出现的界面空白处点右
键,新建"字符串",在弹出的框中输入network.protocol
-handler.app.rtsp,回车。
在值项中输入realplay的路径(如果mplayer支持rm
的话也可添写mplayer的路径)。
再新建一"字符串",值项为network.protocol-handler.app.mms,值为mplayer的路径。
现在基本上装完了,大家看一下我的about:plugins:
******************************
******************************
******************************
***************
已安装插件
Google VLC multimedia plugin 1.0
-
<script type="text/javascript">文件名: nmplayerplug-in-gmp.so
-
n
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
n
n
n
n
n
n
n
application/x-google-vlc-plugin |
n
n
n
n
n
QuickTime Plug-in 6.0
n
-
文件名: nmplayerplug-in-qt.so
-
n
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
Quicktime - Session Description Protocol |
n
n
n
n
n
application/x-quicktimeplayer |
n
n
n
n
n
n
n
n
n
n
n
RealPlayer 9
n
-
文件名: nmplayerplug-in-rm.so
-
n
",1] ); //--></script> 文件名: mplayerplug-in-gmp.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|
application/x-google-vlc-plugin | Google Video | | 是 |
QuickTime Plug-in 6.0
-
文件名: mplayerplug-in-qt.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|
video/quicktime | Quicktime | mov | 是 |
video/x-quicktime | Quicktime | mov | 是 |
image/x-quicktime | Quicktime | mov | 是 |
video/quicktime | Quicktime | mp4 | 是 |
video/quicktime | Quicktime - Session Description Protocol | sdp | 是 |
application/x-quicktimeplayer | Quicktime | mov | 是 |
application/smil | SMIL | smil | 是 |
RealPlayer 9
-
文件名: mplayerplug-in-rm.so
-
<script type="text/javascript"> 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
application/vnd.rn-realmedia |
n
n
n
n
n
n
application/vnd.rn-realaudio |
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
audio/x-pn-realaudio-plugin |
n
n
n
n
n
n
n
n
n
n
n
Windows Media Player Plugin
n
-
文件名: nmplayerplug-in-wmp.so
-
n
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
",1] ); //--></script> mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|
audio/x-pn-realaudio | RealAudio | ram,rm | 是 | application/vnd.rn-realmedia | RealMedia | rm | 是 | application/vnd.rn-realaudio | RealAudio | ra,ram | 是 | video/vnd.rn-realvideo | RealVideo | rv | 是 | audio/x-realaudio | RealAudio | ra | 是 | audio/x-pn-realaudio-plugin | RealAudio | rpm | 是 | application/smil | SMIL | smil | 是 |
Windows Media Player Plugin
-
文件名: mplayerplug-in-wmp.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|
application/asx | Media Files | * | 是 | video/x-ms-asf-plugin | Media Files | * | 是 | video/x-msvideo | AVI | avi,* | 是 | video/msvideo | AVI | avi,* | 是 | application/x-mplayer2 | Media Files | * | 是 | application/x-ms-wmv | <script type="text/javascript">n | wmv,* | n
| 是 |
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
mplayerplug-in 3.25
n
-
文件名: nmplayerplug-in.so
-
n
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
",1] ); //--></script> Microsoft WMV video
wmv,* | 是 |
video/x-ms-asf | Media Files | asf,asx,* | 是 |
video/x-ms-wm | Media Files | wm,* | 是 |
video/x-ms-wmv | Microsoft WMV video | wmv,* | 是 |
audio/x-ms-wmv | Windows Media | wmv,* | 是 |
video/x-ms-wmp | Windows Media | wmp,* | 是 |
video/x-ms-wvx | Windows Media | wvx,* | 是 |
audio/x-ms-wax | Windows Media | wax,* | 是 |
audio/x-ms-wma | Windows Media | wma,* | 是 |
application/x-drm-v2 | Windows Media | asx,* | 是 |
audio/wav | Microsoft wave file | wav,* | 是 |
audio/x-wav | Microsoft wave file | wav,* | 是 |
mplayerplug-in 3.25
-
文件名: mplayerplug-in.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
MPlayer
JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|
video/mpeg | MPEG | mpg,mpeg | 是 |
audio/mpeg | MPEG | mpg,mpeg | 是 |
video/x-mpeg | MPEG | mpg,mpeg | 是 |
video/x-mpeg2 | MPEG2 | mpv2,mp2ve | 是 |
audio/mpeg | MPEG | mpg,mpeg | 是 |
audio/x-mpeg | MPEG | mpg,mpeg | 是 |
<script type="text/javascript">n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
application/x-nsv-vp3-mp3 |
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
Shockwave Flash
n
-
文件名: nlibflashplayer.so
-
nShockwave Flash 7.0 r25
n
n
n
n
n
n
n
n
n
n
application/x-shockwave-flash |
n
n
n
n
n
n
n
n
n
n
n
mplayerplug-in 3.25
n
-
文件名: nmplayerplug-in.so
-
n
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
",1] ); //--></script>
audio/mpeg2 | MPEG audio | mp2 | 是 |
audio/x-mpeg2 | MPEG audio | mp2 | 是 |
video/mp4 | MPEG 4 Video | mp4 | 是 |
application/x-ogg | Ogg Vorbis Media | ogg | 是 |
audio/ogg | Ogg Vorbis Audio | ogg | 是 |
application/ogg | Ogg Vorbis / Ogg Theora | ogg | 是 |
video/fli | FLI animation | fli,flc | 是 |
video/x-fli | FLI animation | fli,flc | 是 |
video/vnd.vivo | VivoActive | viv,vivo | 是 |
application/x-nsv-vp3-mp3 | Nullsoft Streaming Video | nsv | 是 |
video/divx | DivX Media Format | divx | 是 |
video/vnd.divx | DivX Media Format | divx | 是 |
audio/basic | Basic Audio File | au,snd | 是 |
audio/x-basic | Basic Audio File | au,snd | 是 |
Shockwave Flash
-
文件名: libflashplayer.so
-
Shockwave Flash 7.0 r25
MIME 类型 | 描述 | 后缀 | 已启用 |
---|
application/x-shockwave-flash | Shockwave Flash | swf | 是 |
application/futuresplash | FutureSplash Player | spl | 是 |
mplayerplug-in 3.25
-
文件名: mplayerplug-in.so
-
mplayerplug-in 3.25
Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using
<script type="text/javascript">
JavaScript Enabled and Using GTK2 Widgetsn
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
application/x-nsv-vp3-mp3 |
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
n
audio/x-basic",1] ); //--></script> MPlayer JavaScript Enabled and Using GTK2 Widgets
MIME 类型 | 描述 | 后缀 | 已启用 |
---|
video/mpeg | MPEG | mpg,mpeg | 是 | audio/mpeg | MPEG | mpg,mpeg | 是 | video/x-mpeg | MPEG | mpg,mpeg | 是 | video/x-mpeg2 | MPEG2 | mpv2,mp2ve | 是 | audio/mpeg | MPEG | mpg,mpeg | 是 | audio/x-mpeg | MPEG | mpg,mpeg | 是 | audio/mpeg2 | MPEG audio | mp2 | 是 | audio/x-mpeg2 | MPEG audio | mp2 | 是 | video/mp4 | MPEG 4 Video | mp4 | 是 | audio/mpeg3 | MPEG audio | mp3 | 是 | audio/x-mpeg3 | MPEG audio | mp3 | 是 | audio/x-mpegurl | MPEG url | m3u | 是 | audio/mp3 | MPEG audio | mp3 | 是 | application/x-ogg | Ogg Vorbis Media | ogg | 是 | audio/ogg | Ogg Vorbis Audio | ogg | 是 | application/ogg | Ogg Vorbis / Ogg Theora | ogg | 是 | video/fli | FLI animation | fli,flc | 是 | video/x-fli | FLI animation | fli,flc | 是 | video/vnd.vivo | VivoActive | viv,vivo | 是 | application/x-nsv-vp3-mp3 | Nullsoft Streaming Video | nsv | 是 | video/divx | DivX Media Format | divx | 是 | video/vnd.divx | DivX Media Format | divx | 是 | audio/basic | Basic Audio File | au,snd | 是 | audio/x-basic <script type="text/javascript">n | Basic Audio File | n
| au,snd |
n
n
n
Default Plugin
n
-
文件名: nlibnullplugin.so
-
nThe default plugin handles plugin data for mimetypes and extensionsnthat are not specified and facilitates downloading of new plugins.
nn
n
n
n
n
n
n
n
n
n
n
n
--****************************
******************************
******************************
******************************
******************************
***********n
呵呵,可以看到Windows下可以观看的文件类型我们都可以在l
inux下实现了。现在就上mp3.baidu.com上试一下,一个格式一个格式的试,爽啊~~
三 新浪宽频想必大家都经常上吧,Let'go!
看到什么了?什么也没看到! 播放窗口没了!怎么办呢,总不能不看吧,呵,山人自有妙计。
可使用另外一个扩展 Greasemonkey,可以在http://greasemo
nkey.mozdev.org 下载到。安装好之后并重启Firefox。
再从http://forums.mozine.org论坛的gr
easemonkey专区中下载一个"观看新浪的在线视频
"的脚本,并将其装入greasemonkey中。
(将下载到的包解开之后,用Firefox打开这时就可弹出安装提
示条,安装即可)我们可在可在工具栏中修改相应选项。n
现在再去sina.com看看,可爱的播放窗口是不是出来了??
------pengiumsn",0] ); D(["ce"]); //--></script>
Default Plugin
-
文件名: libnullplugin.so
-
The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins.
MIME 类型 | 描述 | 后缀 | 已启用 |
---|
* | All types | .* | |