2 ms·
FWIW there is a standard in the works (Media Session [1]) that will enable various use cases[2] for web app users to control with media keys, headphone buttons,
by esailija 11y ago
FWIW there is a standard in the works (Media Session [1]) that will enable various use cases[2] for web app users to control with media keys, headphone buttons, from lock screen, notification area, ducking for phone calls etc
1. https://mediasession.spec.whatwg.org/ https://mediasession.spec.whatwg.org/
2. https://github.com/whatwg/mediasession#use-cases https://github.com/whatwg/mediasession#use-cases