Web Page Media Keys is an extension for Google Chrome browser, that provides bindings from keyboard media keys to a web page. It allows your keyboard media keys (play/pause, next, previous) to work when you're listening to music on common streaming websites.
Currently supported services:
- 163 Music
- 22tracks
- 8tracks
- Amazon Cloud Player
- Bandcamp
- Birp
- Bop
- Bugs Music
- Chrome Built-In Player
- Comcast/Xfinity
- Deezer
- Digitally Imported (di.fm)
- Gaana.com
- Google Play Music
- Groove Music
- Hype Machine
- iloveradio.de
- Jamstash
- Jango.com
- JB Hi-Fi Now
- Livestream.com
- Mixcloud
- Music Choice
- Myspace
- Myzuka.fm
- Naxos Music Library
- Netflix
- Noon Pacific
- NRK Radio
- Ok.ru
- Overcast
- Pandora
- Phish Tracks
- Pleer.com
- Picarto.tv
- Plex
- Pocketcasts.com
- Prostopleer
- Qobuz
- Rdio
- Relax-Hub.com
- Saavn.com
- Slacker
- Sirius XM Radio
- SomaFM
- Songza
- Soundcloud
- Sowndhaus
- Spotify
- Spreaker
- Streamsquid
- Subsonic (and Madsonic)
- Superplayer.fm
- Synology Audio Station v.5
- thesixtyone
- Tidal
- Tracksflow.com
- tunein.com
- Twitch.tv
- Ustream.tv
- Vimeo
- vk.com (Vkontakte)
- Xiami Music
- YouTube
- Zvooq
- Яндекс.Музыка (Yandex.Music)
- Яндекс.Радио (Yandex.Radio)
There is two ways of integration:
- Write a plugin for given web site (service).
- Implement generic Web Page Media Control API from the service side.
The first way is the only possible when you are not the site owner and it's impossible
to ask site owner to implement Web Page Media Control API. In this case you can
implement plugin (see other plugins -- files in extension
directory with names
started with keysocket-
) and create pull request to merge your code into repository.
After merge is done and extension is updated you'll enjoy the result.
The second way is the right way when you are a site owner. There is no need to write a plugin if your can just put a few lines of code into your site. Detailed description of API available in Web Page Media Control API repo. As an example of working Web Page Media Control API implementation see RelaxHub.
- Install extension from the chrome web store.
- Edit the
Keyboard shortcuts
to give the extension 'Global' permissions:- open a browser tab to chrome://extensions
- scroll to the bottom & click
Keyboard shortcuts
- find
Web Page Media Keys
and change each desired key toGlobal
Feel free to create pull requests for new adapters for other music players and bug-fixes.
This software is maintained by Valera Leontyev ([email protected]) and licensed by Apache 2.0. Original version of the extension created by Boris Smus and named keysocket. Extension icon created by José García.