5

My keyboard has those nice media buttons - play/pause, next, back - that work for local players like Banshee. Is there any way to make them work in Firefox, like for Youtube videos?

anjuta
  • 203

2 Answers2

5

Here is a list of extensions I found that control various sites from the keyboard

Media Keys 0.5.1

Lets you control Youtube, Pandora, Bandcamp and TidalHiFi website media players using the media keys on your keyboard.

Be Quiet!

Provides tool bar and keyboard media controls and more for several music sites. Adds automatic music pausing functionality when playing html5 videos or watching videos on Youtube.

Google Music Media Key Fix

A fix to enable global use of media keys in Google Play Music.

I would think media keys is what you would need

Mark Kirby
  • 18,949
  • 19
  • 79
  • 116
3

Generally no. For a media player to be controllable using the media buttons on your keyboard it has to implement the MPRIS specification which is not something a website can do. Also there is no way for a website to ask the browser to do that for it.

Alternatively an add-on could provide this functionality, but while it is definitely possible to control YouTube playback from an add-on, there does not seem to by any add-on attempts to implement a MPRIS server for YouTube.

If you don't care about YouTube running in the browser you might want to give MPS YouTube a try.

All of this of course only applies to YouTube controlling other video/audio sites would of course require custom solutions for these sites as well.

ntninja
  • 736