navigator.mediaSession
Term side of the Card
Topic: Interact with Client
Unit title: navigator.mediaSession
Categories: Property, Object
Explanation side of the Card
Explanation: The browser API property that allows web apps to interact with media playback controls outside the browser, like on the lock screen or media keys. It allows for the customization of playback metadata and responds to user actions, such as play, pause or skip.
Browser compatibility:
- The chrome browser supports this feature starting from version 73
- The edge browser supports this feature starting from version 79
- The firefox browser supports this feature starting from version 82
- The safari browser supports this feature starting from version 15
Availability: