Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Media Session API in the Share audio player & pass chapterInfo to media sessions #3769

Merged
merged 2 commits into from
Jan 1, 2025

Conversation

advplyr
Copy link
Owner

@advplyr advplyr commented Jan 1, 2025

Brief summary

Adds Media Session API to Share audio player to match the regular audio player.

Support the chapterInfo array for media sessions.

Which issue is fixed?

Fixes #3768

In-depth Description

I noticed the experimental ChapterInformation interface that allows for passing in chapters to the media session.
I wasn't able to test this since it looks like it is only being used by ChromeOS media notifications based on this article: https://web.dev/articles/media-session

How have you tested this?

Tested this in Brave, Firefox and Edge on Windows.

Screenshots

image

@advplyr advplyr merged commit d3bda89 into master Jan 1, 2025
7 checks passed
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.

[Bug]: Share media player is not using the media session API
1 participant