generative.fm icon indicating copy to clipboard operation
generative.fm copied to clipboard

Add media key support

Open sambaldwin opened this issue 5 years ago • 3 comments

Not sure if related to #62 – but it'd be great if we could use the media keys (play, pause, etc.) on a Mac keyboard to control the playback. I'm not sure exactly which browsers support this, but I know Safari does.

Love the project!

sambaldwin avatar Mar 29 '19 11:03 sambaldwin

I'm having trouble finding a way to do this, but it does indeed seem to be possible (works in Google Play Music in Chrome). I thought maybe #62 would do it but that doesn't seem to be the case.

alexbainter avatar Mar 30 '19 04:03 alexbainter

Found it: https://developers.google.com/web/updates/2019/02/chrome-73-media-updates#media-keys

alexbainter avatar Aug 19 '19 17:08 alexbainter

I just realized you were talking about Safari/Mac, which my link doesn't apply to. Oops. I'm not sure how to implement this on Mac/Safari and I can't find any instructions for it.

alexbainter avatar Aug 24 '19 20:08 alexbainter