WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: HOWTO: mplayerplug-in in Firefox and Opera  (Read 14661 times)

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 391
HOWTO: mplayerplug-in in Firefox and Opera
« on: November 06, 2009, 01:50:19 PM »
How to install mplayerplug-in in Firefox and Opera

Quote
1. Download
http://connie.slackware.com/~alien/slackbuilds/mplayerplug-in/pkg/12.2/mplayerplug-in-3.55-i486-1alien.tgz
2. Extract it to /home/tc using Midnight Commander, emelFM2 or command line.
3. Copy all files

mplayerplug-in-dvx.so   
mplayerplug-in-dvx.xpt   
mplayerplug-in-gmp.so   
mplayerplug-in-gmp.xpt   
mplayerplug-in-qt.so
mplayerplug-in-qt.xpt
mplayerplug-in-rm.so
mplayerplug-in-rm.xpt
mplayerplug-in-wmp.so
mplayerplug-in-wmp.xpt
mplayerplug-in.so
mplayerplug-in.xpt

from /home/tc/usr/lib/mozilla/plugins/ to
Opera:    /usr/local/lib/opera/plugins/
Firefox:  /usr/local/firefox-official/plugins/

4. Download MPlayer-svn-gtk1 extension using appsbrowser.
5. Restart your browser. Now you can test your plugin in this site:
http://ftp.icm.edu.pl/pub/unix/video/mplayer/samples/ogg/Theora/

Tip 1. If you don't want to wait, you can disable stream buffering in mplayerplug-in. Simply click right mouse button on plugin, chose "Configure" and then mark "Play media directly from site (No Caching)"

Tip. 2 If plugin doesn't work smootly in Opera, you have to change Opera PID priority.

Tip 3. If you want to watch YouTube videos without Flash Player, you will have to install this script.
http://userscripts.org/scripts/show/50771

In Firefox, first you must install Greasemonkey add-on, and then install the script.
https://addons.mozilla.org/addon/748

In Opera you have to only download script to /home/tc/ and then set in Opera Preferences directory when you place it.
Tools > Preferences > Advanced > Content > JavaScript Options... > User JavaScript files
and type /home/tc
« Last Edit: November 06, 2009, 02:08:29 PM by neonix »

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #1 on: November 07, 2009, 11:07:40 AM »
I've tried and the correct dir to put the files for firefox is
/usr/local/firefox/plugins/

Thanx for the info about the greasemonkey script.

Instead of the mplayerplug-in I use the mediaplayerconnectivity firefox extension
dCore user

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 391
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #2 on: April 11, 2010, 08:10:59 AM »
Tip. 4
If someone wants usability similar to MediaPlayerConnectivity. Clearly, if someone wants to play videos in external window, instead of embedded in web browser, here is the solution.

Quote
Extract tarball, and copy mplayerplug-in.conf.new to /etc
Rename it to mplayerplug-in.conf
Now edit it, changing "#noembed=0" to "noembed=1"

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #3 on: April 11, 2010, 11:17:07 AM »
Now that I think about it, I remember a plugin to bind external programs for embedded stuff: mozplugger. Will see how it works.
The only barriers that can stop you are the ones you create yourself.

Offline alex

  • Newbie
  • *
  • Posts: 40
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #4 on: June 25, 2010, 02:20:09 PM »
I've tried and the correct dir to put the files for firefox is
/usr/local/firefox/plugins/

Thanx for the info about the greasemonkey script.

Instead of the mplayerplug-in I use the mediaplayerconnectivity firefox extension

Hi, could you please explain what version of media player do you use with that extension? Because I couldn't make it run.

Thanks,
Alex.

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 391
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #5 on: July 17, 2010, 07:08:01 AM »
I tried MPlayer-svn-gtk2.tcz and it works for me.
Are you sure that you configured mediaplayerconnectivity properly?

It should look like this.
http://i31.tinypic.com/11mapa1.png

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #6 on: July 20, 2010, 02:24:04 AM »
mplayerplug-in working here with Mplayer-nodeps.tcz (in opera)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ACRizona

  • Jr. Member
  • **
  • Posts: 61
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #7 on: December 02, 2010, 07:22:44 PM »
Now that we finally have Mplayer working in conjunkshun ;) with FireFox....
How do I get rid of the Adobe "download, install, you must, sky-is-falling" messages ?

I found that configuration changes (FireFox about:config 'plugin') to disable errors, also disables the Mplayer plugin !


 

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #8 on: March 05, 2013, 09:26:17 PM »
Tip 3. If you want to watch YouTube videos without Flash Player, you will have to install this script.
http://userscripts.org/scripts/show/50771

Script no longer works and is no longer maintained.
Instead,

https://userscripts.org/scripts/show/25105

which is stressing download fuctionality in description, when selecting a format with the additional "Download" button created on YouTube page, by default Open|Save dialog pops up in opera and when selecting "Open" then mplayerplug-in starts :)

Above userscript provides support for YouTube "Feather" beta as well.
« Last Edit: March 05, 2013, 09:47:54 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 391
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #9 on: May 12, 2013, 04:52:29 AM »
I don't use "Download YouTube Videos as MP4" script because it doesn't work with old versions of Opera browser.

Also I don't use mplyer-plugin anymore. I use ViewTube script,
http://userscripts.org/scripts/show/87011
and redirect url straight to commandline mplayer.

In Opera browser:
I open using Ctrl+F12 Preferences > Advanced > Downloads > video/mp4 > File type
I set
Open with other application
aterm -geometry 4x1 -e /usr/local/bin/mplayer
I also set
Pass web adress directly to application

[I use aterm window, because sometime when I play flv files, mplayer suspend. Then I can simply close mplayer by closing aterm window.]

Tip. 5
If you want to listen to music videoclips without overloading your cpu, you can just turn off video processing. Using:

mplayer -vo 123
this will play audio only, just like in internet radio player. Your cpu doesn't have to decode video stream. But if you use
mplayer -vo null
cpu will be overloaded by video processing and you don't see video, wasting your cpu power.

Tip. 6
On userscripts.org website, there's many other scripts that are useful for users who don't use Flash player plug-in. Especially for people with slow cpu.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11043
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #10 on: May 13, 2013, 02:51:14 PM »
About tip 5: an invalid video output has the same effect as the proper options "-vo null -vc null".
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #11 on: May 13, 2013, 04:17:12 PM »
I'd use "-novideo" in this case.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 391
Re: HOWTO: mplayerplug-in in Firefox and Opera
« Reply #12 on: July 10, 2013, 01:49:54 PM »
Tip. 7
If youtube clip is embedded in the website, you can use LinkTube, script, to get direct link to original youtube site.

Support also:
youtube-nocookie.com
Dailymotion
Vimeo
MetaCafe
FunnyOrDie
Blip