[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Keyboard media controls only work when SMPlayer is focused
Page 1 of 1

Keyboard media controls only work when SMPlayer is focused

PostPosted: Sat Jan 30, 2010 9:49 pm
by Cavi Mike
Can they be made to work at all times?

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Sun Jan 31, 2010 5:10 am
by rvm
If the smplayer window is not focused, it doesn't receive key events.

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Sun Jan 31, 2010 5:57 am
by Cavi Mike
Yes, that's why I asked if there was a way to change it. Like WinAmp or Windows Media Player where it can receive them at all times.

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Sun Jan 31, 2010 6:22 am
by rvm
I don't know how those programs do it.

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Sun Jan 31, 2010 9:31 pm
by MacTheKnife
In a similar vein, there's a bunch of mouse key functions that only work when the pointer is in the video frame and a video is playing, but they don't work when playing audio only files.

For example, I have the "forward" and "backward" buttons on my mouse mapped to "skip medium" and "skip short", but they only work for video files and not for audio files.

Would it be possible to make the video frame still accept mouse clicks when playing audio only files so that the mouse keys will work in that case too?

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Mon Feb 01, 2010 12:09 am
by Cavi Mike
I found a guy who did it for iTunes:
http://jonathangiles.net/blog/?p=258

The source code and whatnot is here:
http://jonathangiles.net/blog/wp-conten ... stener.zip

Any way you could adapt it?

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Mon Feb 01, 2010 12:59 am
by rvm

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Mon Feb 01, 2010 6:15 am
by Cavi Mike
They're only listening if they're running. I don't know about you but I've never tried to watch a movie on one player and listen to music on another at the same time. But I do like to surf the internet while I have my music videos playing on my TV.

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Mon Feb 01, 2010 11:47 pm
by Cavi Mike
How would I go about modifying this? Do I need special software?

Re: Keyboard media controls only work when SMPlayer is focused

PostPosted: Tue Feb 02, 2010 12:08 am
by rvm
I guess you'd need the Java SDK.