audius-protocol
audius-protocol copied to clipboard
feat: Add mediaSession API listener to PlayBar
Description
Adds listeners to the MediaSession API to handle the player function keys on devices (e.g. F7/8/9 on a Mac keyboard)
Demo: https://www.loom.com/share/a46dd0d17a5343408375d83704d456e2
How Has This Been Tested?
Pressing the function buttons locally
Preview this change https://demo.audius.co/jd/add-navigator-listener