mdn
mdn copied to clipboard
Media Session API
Proposal
The current documentation includes:
- The landing page: https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API
- Interface pages:
- https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata
- https://developer.mozilla.org/en-US/docs/Web/API/MediaSession
There are a few more detailed in the spec https://w3c.github.io/mediasession/:
- MediaImage dictionary: https://developer.mozilla.org/en-US/docs/Web/API/MediaImage
- MediaPositionState dictionary
- MediaSessionActionDetails dictionary
### Tasks
- [ ] Add link to MediaImage in Media Session API landing page
- [ ] Explore whether to add pages for the two dictionaries
- [ ] Research if existing pages need to be updated after comparing with spec
- [ ] Explore adding a tutorial for the API
Additional information
No response
Are you willing to support this work?
No response
Depends on
No response
Can happen in triage, but noting the dictionary should be removed rather than added.
There is also a demo for this which wasn't encoporated into the pages at the time due to support https://github.com/mdn/dom-examples/tree/main/media-session