Joerg: Firefox+mplayer, so! :-)

Beitrag lesen

Hi,

ich sehe, dein problem ist schon gelöst, aber hier trotzdem eine anleitung für die "nachwelt":

falls du SuSE (openSuSE) oder ich glaube Fedora benutzt,

Bei mir ist es eine alte (aber superstabile) SuSE 9.0, und ich habe "from scratch" compiliert. Hier die Notizen, die ich mir vorgestern gemacht habe:

1. From http://www.mplayerhq.hu/dload.html, download
(a) the latest source package (or use svn),
(b) the binary codec package for your platform
2. Unpack the codecs archive and put the files into /usr/local/lib/codecs/.
3. Unpack the Mplayer source, e.g. into /usr/local/src/mplayer/<version> and change into this directory. On a SuSE 9.0 system, disabling v4l was necessary since otherwise the package would not compile:
./configure --enable-gui --disable-tv-v4l2 --disable-tv-v4l1
make (takes a while!)
make install (as root)

To configure MPlayer as a plugin for Firefox, proceed as follows:
1. Compile and install MPlayer as above.
2. Download the Mozilla development files; I found that the gecko-sdk (e.g. from http://releases.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8b1/) was the least complicated. Unpack the files e.g. into /usr/local/src/gecko-sdk/.
3. Download mplayerplug-in from http://mplayerplug-in.sourceforge.net/, and unpack the source e.g. into /usr/local/src/mplayer/mplayerplug-in. Change into this directory, then:
./configure --with-gecko-sdk=/usr/local/src/gecko-sdk/ --enable-gtk2 (eventually use –enable-x instead, if your gtk-devel package is not recent enough ... gtk1 will clash with Firefox)
make
cp mplayerplug-in*.so /opt/firefox/plugins/
cp mplayerplug-in*.xpt /opt/firefox/components/

... das war's :-)

Gruss und ebenfalls HTH,

  • Joerg