> I want it to work
> just from the buttons on the application, not from keyboard directly.
Have you tried (quote from "man mplayer")
-noconsolecontrols
Prevent MPlayer from reading key events from standard input.
Useful when reading data from standard input.
Greets,
Kiste