Note: The version (Fedora8 + Firefox + Mplayer + mplayerplug-in) has not been tested in other versions. Baidu has published many articles about APT installation of media plug-ins, but I am a FEDORA and I cannot find Mozilla-mplayer when I use YUM to install APT. Later I found that mplayerplug-in can be used. The web page finally has a sound. MP3 and WMA pass. 1. mplayer must be installed first, because our plug-in is based on mplay.
Note: The version (Fedora 8 + Firefox + Mplayer + mplayerplug-in) has not been tested in other versions.
Baidu has published many articles about APT installation of media plug-ins, but I am a FEDORA and I cannot find Mozilla-mplayer when I use YUM to install APT. Later I found that mplayerplug-in can be used. The web page finally has a sound. MP3 and WMA pass.
1. mplayer must be installed first, because our plug-in is implemented based on mplayer.
Mplayer source package: http://www.mplayerhq.hu/design7/dload.html
You must add the/usr/local/mplayer/bin directory to the PATH of your system. Otherwise, you cannot call mplayer. You 'd better log out and log on again after setting the PATH.
2 install mplayerplug-in
: Http://mplayerplug-in.sourceforge.net/download.php
This example uses the latest 2.75 as an example.
# Tar zxvf mplayerplug-in2-.75.tar.gz
# Cd mplayerplug-in
#./Configure
# Make
If you use mozilla
# Cp mplayerplug-in.so/usr/lib/mozilla-version/plugins
# Cp mplayerplug-in.xpt/usr/lib/mozilla-version/components
Among them, mozilla-version is your system's mozilla version.
For firefox
# Cp mplayerplug-in.so/usr/lib/firefox-version/plugins
# Cp mplayerplug-in.xpt/usr/lib/firefox-version/components
Firefox-version is the firefox version of your system.
3 Configuration
Cp mplayerplug-in.conf/etc/
Modify mplayerplug-in.conf to meet your needs
The following is an example of my configuration.
# Debug = 0
# Logfile = $ HOME/mpp. log
Vo = x11, xv
Ao = alsa, arts, esd, oss
# Download = 1
# Dload-dir = $ HOME/tmp
# Keep-download = 0
# Noembed = 0
# Cache size = 256
# Use-mimetypes = 0
# Enable-real = 1
Enable-wm = 1
Enable-qt = 1
Enable-mpeg = 1
Enable-ogg = 1
Enable-smil = 1
Qt-speed = med
# Rtsp-use-tcp = 0
# Nomediacache = 0
# Framedrop = 0
# Autosync = 0
# Mc = 1
# Black-background = 0
Okay. Restart the browser to make it take effect.
Note: files in real format cannot be opened at this time, and the option to open the configuration file is useless.