Greetings, I'm using OpenSuSE 10.0, KDE and Firefox 1.5. When I go to a website that has a link to streaming audio or video, Firefox opens the link in a new tab with the mplayer plug-in. The particular link that's prompted this email is a .asx (video/x-ms-asf). I'd like those type links to be opened in a player outside of the browser so I can park it in another desktop or close the browser altogether. In the KDE control center I have the file association for x-ms-asf for Mplayer as the default, and the embedding set to "show file in a separate viewer". I've looked in the MPlayer configuration and don't see anything there that will cause it to open separately, nor is there anything in Firefox. Should I just remove the MPlayer plug-in or is there something else I can do? Thanks, Rob Wright suserob@poncacity.net
On Tuesday 14 March 2006 13:02, Rob Wright wrote:
Should I just remove the MPlayer plug-in or is there something else I can do?
Hi Rob, I'm picky about this, too. The only way I've found that works 100% is to remove the specific mplayerplug-in-XX.so (or .xpt) that is handling the media type that I want to be played externally. When I do this, Firefox prompts me to pick an application when I click on a link to a stream. Otherwise, it seems bound and determined to play everything it possibly can inside the browser. BTW, when you add or remove plug-ins or change their configuration files, be sure to do this with Firefox closed completely and to delete the "pluginreg.dat" file (usually somewhere under ~/.mozilla) before launching Firefox again. This forces Firefox to re-register the installed plug-ins as though from scratch and to pick up your changes. regards, Carl
On Tuesday March 14 2006 14:20, Carl Hartung wrote:
On Tuesday 14 March 2006 13:02, Rob Wright wrote:
Should I just remove the MPlayer plug-in or is there something else I can do?
Hi Rob,
I'm picky about this, too. The only way I've found that works 100% is to remove the specific mplayerplug-in-XX.so (or .xpt) that is handling the media type that I want to be played externally. When I do this, Firefox prompts me to pick an application when I click on a link to a stream. Otherwise, it seems bound and determined to play everything it possibly can inside the browser.
regards,
Carl
Carl, Thanks for the help and the information. I tried that but still didn't have any luck. I don't think I'm sure what you mean by removing the .so or .xpt. I've got them mplayerplug-in.wmp.xpt or .so in the following locations: /opt/MozillaFirefox/lib/components/mplayerplug-in-wmp.xpt /opt/mozilla/lib/components/mplayerplug-in-wmp.xpt /usr/lib/browser-plugins/mplayerplug-in-wmp.so /usr/lib/browser-plugins/mplayerplug-in-wmp.xpt I followed your instructions to remove them and the pluginsreg.dat file. Firefox did then ask me how to open the stream, but it wouldn't then play in the MPlayer. The location information would be there, but no stream. I've just now tried it in Opera and get the same result. The streams play fine as long as I'm using the plugin and not the standalone player. Maybe I should try something other than MPlayer? Thanks, Rob
the mplayerplug-in has two files in /etc/mplayer*. Please have a look there. rgds, Rainer Rob Wright schrieb:
On Tuesday March 14 2006 14:20, Carl Hartung wrote:
On Tuesday 14 March 2006 13:02, Rob Wright wrote:
Should I just remove the MPlayer plug-in or is there something else I can do? Hi Rob,
I'm picky about this, too. The only way I've found that works 100% is to remove the specific mplayerplug-in-XX.so (or .xpt) that is handling the media type that I want to be played externally. When I do this, Firefox prompts me to pick an application when I click on a link to a stream. Otherwise, it seems bound and determined to play everything it possibly can inside the browser.
regards,
Carl
Carl,
Thanks for the help and the information. I tried that but still didn't have any luck. I don't think I'm sure what you mean by removing the .so or .xpt. I've got them mplayerplug-in.wmp.xpt or .so in the following locations:
/opt/MozillaFirefox/lib/components/mplayerplug-in-wmp.xpt /opt/mozilla/lib/components/mplayerplug-in-wmp.xpt /usr/lib/browser-plugins/mplayerplug-in-wmp.so /usr/lib/browser-plugins/mplayerplug-in-wmp.xpt
I followed your instructions to remove them and the pluginsreg.dat file. Firefox did then ask me how to open the stream, but it wouldn't then play in the MPlayer. The location information would be there, but no stream. I've just now tried it in Opera and get the same result. The streams play fine as long as I'm using the plugin and not the standalone player. Maybe I should try something other than MPlayer?
Thanks,
Rob
On Wednesday 15 March 2006 11:21, Rob Wright wrote:
I followed your instructions to remove them and the pluginsreg.dat file. Firefox did then ask me how to open the stream, but it wouldn't then play in the MPlayer. The location information would be there, but no stream. I've just now tried it in Opera and get the same result. The streams play fine as long as I'm using the plugin and not the standalone player. Maybe I should try something other than MPlayer?
Hi Rob, Had to jog my memory a bit. There are a couple more pieces to this puzzle: Note: don't include the quotes when entering these items in ;-) In Firefox: RealPlayer externally: 1. type "about:config" in the address bar 2. right-click in the Preference Name column 3. select new, type "string" 4. add Preference Name "network.protocol-handler.app.rtsp" 5. add "/path/to/realplayer" (use real path and binary name) MPlayer externally: 1. type "about:config" in the address bar 2. right-click in the Preference Name column 3. select new, type "string" 4. add Preference Name "network.protocol-handler.app.mms" 5. add "/path/to/mplayer" (use real path and binary name) Close Firefox, relaunch it and try some streams. You may still have to remove then hand-pick and reinstall specific mplayerplug-in components if some of them interfere with the above settings. Just make a temporary directory somewhere and copy all of them there... don't copy the links, copy the actual items from /usr/lib/browser-plugins. Then delete the links in each browser's plug-ins directory. Hint: when you do an 'about:plugins' in Firefox's address bars, the plug-in file names and file types handled by each are listed. This will help you sort out which are installed and working the way you want vs. not working the way you want. This is an iterative process... i.e. trial and error. Just remember to delete the file pluginreg.dat with *every change* you make to the plug-ins or you'll go crazy when trying to determine which configuration works. Good luck & regards, Carl
On Wednesday March 15 2006 12:03, Carl Hartung wrote:
Had to jog my memory a bit. There are a couple more pieces to this puzzle: Note: don't include the quotes when entering these items in ;-)
In Firefox:
RealPlayer externally: 1. type "about:config" in the address bar 2. right-click in the Preference Name column 3. select new, type "string" 4. add Preference Name "network.protocol-handler.app.rtsp" 5. add "/path/to/realplayer" (use real path and binary name)
MPlayer externally: 1. type "about:config" in the address bar 2. right-click in the Preference Name column 3. select new, type "string" 4. add Preference Name "network.protocol-handler.app.mms" 5. add "/path/to/mplayer" (use real path and binary name)
Close Firefox, relaunch it and try some streams.
Thanks Carl. That tells me what I need to know. It's going to be a slow day at the office, so some trial and error stuff is just fine with me. Rob
participants (3)
-
Carl Hartung
-
Rainer Lay
-
Rob Wright