Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a nifty keyboard with media controls (play, stop, pause, forward and reverse). Is there any way to use them to control Youtube? That is, so that it pauses when I hit the pause key and moves back and forth between clips on the playlist with the forward and reverse keys?

share|improve this question

This extension worked for me:

http://www.streamkeys.com/

https://chrome.google.com/webstore/detail/streamkeys/ekpipjofdicppbepocohdlgenahaneen?utm_source=chrome-app-launcher-info-dialog

I am using it on Last.fm

share|improve this answer
    
Not sure if it's a solution for you, but try streamkeys.com/guide.html The chrome app also has some settings, unfortunately none for the previous track, but everything else is there. – user507355 Oct 9 '15 at 8:46

Most of these media keyboards come together with a program that allows configuration of the media keys.

You could therefore create macros, using for example AutoHotkey, that will click for you on these controls. Then configure the media keys to play these macros.

share|improve this answer

I was searching for the same thing and found this:

http://blog.vivekpanyam.com/using-media-keys-with-youtube-and-chrome/

Sounds promissing but I haven't tried it out myself. I want to browse over the code a bit before I install since this isn't from the official Chrome Web Store.

share|improve this answer

I find BearedSpice to be the great solution. It works for Safari and Chrome (probably other web browsers) as well as media players like Spotify and iTunes.

share|improve this answer
    
Hmm, seems I can't use the existing media keys on my mac with this, and it doesn't come with keybindings by default. Feeling pretty uncreative. What did you end up using for keybindings? – adamlogan Feb 23 at 7:07
    
I can use the media keys, but in Youtube and Safari, the next video cannot play automatically. – fossilet Feb 23 at 7:21
1  
I was using Firefox and testing with Focus At Will. Just tested with Chrome and it works fine. I was able to bind fn + f7 f8 f9 which are the media keys, so that's good enough for me. I tend to use chrome anyways for music as I love the musixmatch and lyrics here addon extensions. happy camper :) – adamlogan Feb 23 at 7:40

Key socked media keys works like a charm form me. have a k70 keyboard and all my media keys work now. also with the remote of my external sound-card (soundblaster omni) it works perfectly. thanks bk123 this solves the issue for me :)

If you refer to Chrome as browser, there is https://chrome.google.com/webstore/detail/key-socket-media-keys/fphfgdknbpakeedbaenojjdcdoajihik which even is open source https://github.com/borismus/keysocket.

share|improve this answer
    
Welcome to Super User! This duplicates another answer and adds no new content. Please don't post an answer unless you actually have something new to contribute. – DavidPostill Oct 13 '15 at 14:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.