mdn icon indicating copy to clipboard operation
mdn copied to clipboard

Media Session API

Open dipikabh opened this issue 3 years ago • 1 comments

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

dipikabh avatar Jan 13 '23 17:01 dipikabh

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

Rumyra avatar Jan 17 '23 13:01 Rumyra