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.
To learn more, see
Navigator: mediaSession property at MDN.
Compatibility
- 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 ❌ Search for bugs Search for standards position
- 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 (38 months)
Specifications
- Media Session, from Media Working Group (W3C).