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.

Motivation

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

Specification link


Specification currently under development in a Working Group

Status in Chromium

Blink>Media>Session


Enabled by default (tracking bug)

Consensus & Standardization

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

Owners

Last updated on 2021-05-05