Seeking for Media Session

Adds a media session action handler for "seekto". An action handler is an event tied specifically to a common media function such as pause or play. The "seekto" action handler will be called when the site should move the playback time to a specific time. This also adds a MediaSessionActionDetails dictionary that will be passed when an action handler is called. Use this as a basis for passing additional data for "seekbackward", "seekforward" and "seekto".

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

Demo

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink>Media>Session


Enabled by default (tracking bug) in:

  • Chrome for desktop release 78
  • Chrome for Android release 78

Consensus & Standardization

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

Owners

Intent to Prototype url

Intent to Prototype thread

Last updated on 2019-08-26