![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: May 2005
Beans: 32
|
HOWTO: mplayerplug-in 2.85 for Hoary
As you might know mplayerplug-in is a handy Mozilla/Firefox plugin for streaming media contents on webpages. Currently Hoary has the quite aged version 2.70 of this plugin. Since that version things have changed significantly - now mplayerplug-in is one of the best option for viewing streaming video on web pages under Linux.
Here is how to compile it under Hoary: NOTE: I have enabled the following repositories (see ubuntuguide.org on how to do it): main restricted universe multiverse hoary-backports Because I have backports enabled I am able to install mplayer and the latest Mozilla browser (Hoary's Mozilla is 1.7.6 while backports has the latest stable 1.7.8 which I use). This guide is based on Mozilla 1.7.8 - I don't know if it is working with the 1.7.6. 1. Set up mplayer & w32codecs Code:
sudo apt-get install mplayer w32codecs Code:
wget http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-2.85.tar.gz Code:
tar -xvzf mplayerplug-in-2.85.tar.gz Code:
sudo apt-get install mozilla-dev libxpm-dev libgtk2.0-dev Code:
wget http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.8/gecko-sdk-i686-pc-linux-gnu-1.7.8.tar.gz Code:
tar -xvzf gecko-sdk-i686-pc-linux-gnu-1.7.8.tar.gz Code:
cd mplayerplug-in ./configure --with-gecko-sdk=../gecko-sdk make Code:
sudo cp mplayerplug-in.so /usr/lib/mozilla-firefox/plugins sudo cp mplayerplug-in.xpt /usr/lib/mozilla-firefox/components sudo cp mplayerplug-in.types /etc sudo cp mplayerplug-in.conf /etc Code:
sudo gedit /etc/mplayerplug-in.conf Code:
#debug=0 #logfile=$HOME/mpp.log vo=xv,x11 ao=esd,oss,arts #download=1 #dload-dir=$HOME/tmp #keep-download=0 #noembed=0 cachesize=1024 #use-mimetypes=0 #enable-real=0 #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 #user-agent=NSPlayer 10. Restart Firefox and there you are!!! Last edited by drigloi; August 18th, 2005 at 03:24 PM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|