PDA

View Full Version : Using gxine as default audio and video player in firefox


xizo
February 1st, 2006, 12:02 AM
Sorry if this is already posted, but I had no luck finding it. When trying to get a media player such as kaffeine ( kaffeine-mozilla ), mplayer, or totem to work with a 32bit chroot firefox nothing seemed to work automaticly from install, so I decided to find a solution. This howto is geared towards 64bit users but it will work for 32bit users as well. If you are a 32bit user just ignore the chroot lingo in steps 1 & 2 and get those programs working in your regular ubuntu environment.

1) get firefox and gxine working in 32bit chroot mode

http://ubuntuforums.org/showthread.php?t=24575&highlight=chroot+32bit

2) install codecs for gxine in 32bit mode if needed

http://www.ubuntuforums.org/showthread.php?t=75278&highlight=xine+codec

3) install mozplugger

sudo apt-get install mozplugger

4) remove all unnecessary plugin files from /usr/lib/mozilla-firefox/plugins

i.e. all I have is "flashplayer.xpt, libflashplayer.so, mozplugger.so"

5) replace /etc/mozpluggerrc with 5754

sudo mv some_directory/mozpluggerrc.txt /etc/mozpluggerrc

6) remove .mozilla/firefox/pluginreg.dat from your home directory

sudo rm ~/.mozilla/firefox/pluginreg.dat

7) restart firefox and you should be good to go.


Other than loading media files in a separate window from firefox, this works great. Let me know if I forgot anything or if you run into any problems with this configuration.


Xizo