Firefox Plugin Help - Can't Get Mplayer Plugin into Firefox
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Firefox Plugin Help - Can't Get Mplayer Plugin into Firefox
Hello.
I'm running Ubuntu 5.10 and have been having no end of trouble with streams.
I went to about: plugins in Firefox and saw that gxine was the main plugin. However, it can't play almost anything...messages such as "no demuxer..", etc. So I renamed the file. Now Firefox shows no plugins except the following:
================================================== =
Shockwave Flash
Default Plugin
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
Adobe Reader 7.0
Java(TM) Plug-in 1.5.0_05-b05
================================================== ==
All are enabled except the Default Plugin.
I used Automatix to install Mplayer "with the plugins". I later noticed in Synaptic that mplayer plugins showed as not installed. So, I installed them "again". (Synaptic currently lists no mplayer plugins...installed or otherwise).
Searching the filesystem, I found that mplayerplug-in.so exists in:
where I copied it because some plugin how-to said it should be in components.
For some reason, this last location is not found by Search for Files...but it's there and it appears in File Browser (I wonder what else Search is failing to report). Maybe Firefox can't see it for the same reason (whatever that is). I did the copying as root because of the directory permissions.
================================================== =
/usr/lib/mozilla does not contain a directory called "components".
Neither does /usr/lib/firefox or /usr/lib/netscape.
I have closed and re-opened Firefox and even shut down the computer. No Mplayer plugins appear in Firefox (about: plugins).
I've been trying hard to get the multimedia situation fixed in Ubuntu, but this is really getting baffling. I checked out a Realplayer clip and that plugin worked fine. But I can't see or hear any other kinds of streams.
Maybe I'm wrong, but I figured Mplayer would be a logical first attempt.
You will find automatix in the Applications>System Tools menu in gnome. Make sure you aren't running synaptic when you open automatix. You can select check boxes to install mplayer plugin and codecs, flash plugin, the latest firefox 1.5, the latest openoffice 2.0.1, and a host of other useful stuff.
Automatix modifies your /etc/apt/sources.list file with needed repositories and then installs applications using apt.
I should have read your post more carefully. I see you did use automatix. It is strange because I have Ubuntu breezy and used automatix and everything works as expected. I need not need to manually edit the plugin directory or copy the plugin to any new directory. Perhaps you could try purging firefox and the mplayer plugin (dpkg -P mozilla-firefox mozilla-mplayer). You can then try re-installing using automatix. By the way, did you use the latest version of automatix? I am trying to think of what could be different between your installation and mine.
I just uninstalled mplayer and mplayer fonts using Synaptic. Then installed the plugins with the deb file. No good. The plugins still don't appear in Firefox.
So-o-o, the problem doesn't appear to be with Automatix.
Anyone know whether I can do something in Firefox (about: config?) to make it see the plugins? Probably not.
I had used Automatix to install Firefox 1.5. Maybe it needs the plugins to be in a different directory. I don't know why there are so many.../usr/lib/mozilla, firefox, mozilla-firefox, netscape. Firefox does weird things like that. But, maybe this has been compunded by upgrading to 1.5...it might have left older directories in addition to creating new ones.
I had a similar problem with bookmarks.html. I copied my existing one and replaced the default in profile. Firefox couldn't read it. I had to tell it to import from itself. Apparently it's reading from one of those other directories. Search for Files only found one. This happened with Firefox under Windows also. Firefox had three or four bookmarks.html's in different places after installation, and it was trial and error to find out which one it was reading.
Thus, this maybe be a Firefox thing rather than Ubuntu.
I did find in /netscape/pluginssomething all the plugins that do appear in Firefox, but copying the plugins to there didn't work either.
If anyone is successfully using streaming under Firefox 1.5, maybe you could find out where the working plugins are? (about: plugins gives a file name but no path...as mentioned, Search didn't find one I knew was there).
All the Mplayer plugins on my system.
usr/lib/mozilla/plugins/mplayerplug-in-qt.so
/usr/lib/mozilla/plugins/mplayerplug-in-rm.so
/usr/lib/mozilla/plugins/mplayerplug-in-wmp.so
/usr/lib/mozilla/plugins/mplayerplug-in.so
Can you also tell me where your system has
mplayerplug-in.xpt? It seems that one is also required.
That's the one some how-to documentation
said belongs in a "Components" directory (it was referring specifically to Ubuntu, but I don't know what verion). That directory doesn't exist on my system in the place referred to (i.e., in the parent directory mentioned). I did see the xpt file in a couple of "plugins" subdirectories.
I have the same problem with you
Gxine keeps on showing up eventhough I want mplayer to play the streaming.
It seems that we have mpplayer files at the same place.
I've tried removing gxine.so or something like that from mozilla pluggins lib but still no luck.
May be after removing *.so, we need to do /sbin/ldconfig and restart the system
My mplayer plug in works fine. I did, however, have to manually delete totem plugins from the above directory before mplayer would work. Otherwise, the default setup with Ubuntu would cause totem to be selected instead of mplayer.
Guess what! I have pretty good streaming on all kinds of formats. Here's the story, in the hope that anyone with difficulties in this area can benefit.
First of all, I did get the mplayer plugins into Firefox. I did a search for some plugin files that appeared in about: plugins, and found out that Firefox 1.5 was reading from /opt/... not /usr/. So, I put mplayerplug-in.so into "plugins" and mplayerplug-in.xpt into "components"...re-opened Firefox and voila.
Unfortunately, I still couldn't see or hear many streams. IMO, mplayer just isn't any good. It just hangs on everything until you xkill it. I had had this problem in my previous installation and had manually entered mrl's in other media programs.
Also, Firefox tried opening video streams in gxine, which could play only the audio part.
It runs a configuration wizard on Firefox startup after it's installed. I let it do its thing without changing defaults. Still had problems. It wanted to use mplayer for Windows Media Player files...but we've already mentioned mplayer's behavior. Also, it replaced realplay as the default for Real Player files.
So, one goes (in Firefox) to Tools>Extensions>MediaPlayerConnectivity. At the bottom of the window, hit Preferences. This brings up the extension's config. There you select which player it should use for various file types. Browse to /usr/bin/ and they're all there (if you have them installed). Try opening various streams until you've found the player that works and bingo. This works so, if you're having problems, keep playing with the extension preferences...it's not hard.
Warning: It opens things kind of slowly and you have to click its little icon to make it play the stream. Then it brings up your player...if nothing seems to be happening, wait a minute.
I have it set for "Smart Play" which looks for alternative addresses for the stream and lets you pick one. They don't all work. You might get an error notice like "Missing Component". Just try another address.
That's it. I think the extension is great. Streaming is not as quick and straightforward as it is under Windows but, for me, it's good enough not to send me back there. It's a great step forward for Firefox.
All's well that ends well. Thanks, everyone, for all the help.
Glad to hear it worked. Strange though....I don't have any problems with mplayer. In addition, after reading your post, I tried installing the mediaplayerconnectivity extension. After installing the extension, I tried playing a quicktime movie trailer and it tried opening in an external window and mplayer froze. I had to x-kill mplayer. I uninstalled the mediaplayerconnectivity extension and opened the same quicktime trailer. It played in the web browser as designed and mplayer didn't freeze. My problem seems to be the exact opposite of yours.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.