Mac Media Keys for the Masses
BeardedSpice is a menubar application for Mac OSX that allows you to control web based media players and some native apps with the media keys found on Mac keyboards. It is an extensible application that works with Chrome (Canary, Yandex, Chromium) and Safari, and can control any tab with an applicable media player.
If you want another supported app, simply open an issue with the tag 'app support'. Or, if you are feeling extra feisty, implement the handler yourself! Read about the implementation of the Handler here .