Skip to content

Conversation

@beaufortfrancois
Copy link
Member

@beaufortfrancois beaufortfrancois commented Feb 6, 2020

This PR adds support for Media Session position state, coming in Chrome 81 beta.
@beccahughes @mounirlamouri please review

Live preview at https://beaufortfrancois.github.io/samples/media-session/video.html and https://beaufortfrancois.github.io/samples/media-session/audio.html

@beaufortfrancois
Copy link
Member Author

beaufortfrancois commented Feb 6, 2020

If setPositionState is not meant to be called with null when media is paused, then we have a bug in Chrome though. See https://bugs.chromium.org/p/chromium/issues/detail?id=1049530

@beccahughes
Copy link

LGTM

@beaufortfrancois beaufortfrancois merged commit cb526bc into GoogleChrome:gh-pages Feb 10, 2020
@beaufortfrancois beaufortfrancois deleted the position branch February 10, 2020 07:59
markafoltz pushed a commit that referenced this pull request Oct 14, 2024
* Add position state support

* set playbackState to paused and playing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants