mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

feature request - controls #502

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
option for disabling controls in preferences (and saving this)

Original issue reported on code.google.com by vib...@gmail.com on 13 Apr 2011 at 8:01

GoogleCodeExporter commented 8 years ago
just add --showcontrols=0 to the gnome-mplayer launcher or create a shell 
script to do this.

Original comment by kdeko...@gmail.com on 13 Apr 2011 at 8:07

GoogleCodeExporter commented 8 years ago
wish it would be so easy. i'm using this app with mplayerplug-in in opera so i 
cant use script to do so

Original comment by vib...@gmail.com on 13 Apr 2011 at 8:17

GoogleCodeExporter commented 8 years ago
that doesn't make any sense... mplayerplug-in uses mplayer directly. 
gecko-mediaplayer uses gnome-mplayer and it respects the controls/no-controls 
option specified by the embed tag as to show them or not.

Original comment by kdeko...@gmail.com on 13 Apr 2011 at 8:48

GoogleCodeExporter commented 8 years ago
i had gecko-mplayer in mind. whatever.. it would be nice to have an option to 
permanently disable controls.

Original comment by vib...@gmail.com on 13 Apr 2011 at 8:55

GoogleCodeExporter commented 8 years ago
Like I said you could do this with a shell script, here is how to create it

cd ~
mkdir bin
cd bin
echo "/usr/bin/gnome-mplayer %@ --showcontrols=0" > gnome-mplayer
chmod a+x gnome-mplayer

This will create a gnome-mplayer in your local path that is found before the 
system path. And gecko-mediaplayer will pick it up and the controls will 
default to off.

The %@ takes all the arguments from gecko-mediaplayer and passes them to the 
real gnome-mplayer with the additional --showcontrols=0 option, even if it is 
listed twice the last argument wins and so the controls are not shown.

Original comment by kdeko...@gmail.com on 10 May 2011 at 10:07