Open simonv3 opened 2 years ago
If the user's keyboard has a play and pause button, pressing it should play and pause the music playing.
Thoughts here
https://stackoverflow.com/questions/64751178/how-to-detect-the-click-event-on-the-keyboard-keys-play-pause-next-and/64930255#64930255
https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API
If the user's keyboard has a play and pause button, pressing it should play and pause the music playing.