Stop action for Media Session

Adds support for the "stop" action to the MediaSession interface. An action is an event tied specifically to a common media function such as pause or play. The "stop" action handler is called when the site should stop the playback and clear the state if appropriate.

We should add support for "stop" since this action is supported by the platform and allows sites to provide a better experience.

Demos

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink>Media>Session


Enabled by default (tracking bug) in:

  • Chrome for desktop release 77
  • Chrome for Android release 77

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Last updated on 2019-08-05