Media session
Limited availability
The navigator.mediaSession
API integrates with platform UI for media playback. It can be used to set metadata such as title and artwork, and to handle user actions like playing, pausing, or seeking.
Learning resources on MDN
Browser support
- Chrome 73 Released on 2019-03-12
- Chrome Android 57 Released on 2017-03-16
- Edge 79 Released on 2020-01-15
- Firefox 82 Released on 2020-10-20
- Firefox for Android ❌ Vendor position : positive
- Safari 15 Released on 2021-09-20
- Safari on iOS 15 Released on 2021-09-20
Baseline availability blocked since September 2021 by Firefox for Android (39 months)
Specifications
- Media Session, from Media Working Group (W3C).