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

Media Session doesn't show artwork on iOS 16.1.1 #290

Closed
mariusbolik opened this issue Nov 25, 2022 · 3 comments
Closed

Media Session doesn't show artwork on iOS 16.1.1 #290

mariusbolik opened this issue Nov 25, 2022 · 3 comments

Comments

@mariusbolik
Copy link

mariusbolik commented Nov 25, 2022

Hello,

the Media Session API doesn't show the artwork on iOS 16.1.1 anymore.

Appears on the following demo: https://googlechrome.github.io/samples/media-session/audio.html

This example from web.dev also doesn't work:

if ("mediaSession" in navigator) {
  navigator.mediaSession.metadata = new MediaMetadata({
    title: 'Never Gonna Give You Up',
    artist: 'Rick Astley',
    album: 'Whenever You Need Somebody',
    artwork: [
      { src: 'https://via.placeholder.com/96',   sizes: '96x96',   type: 'image/png' },
      { src: 'https://via.placeholder.com/128', sizes: '128x128', type: 'image/png' },
      { src: 'https://via.placeholder.com/192', sizes: '192x192', type: 'image/png' },
      { src: 'https://via.placeholder.com/256', sizes: '256x256', type: 'image/png' },
      { src: 'https://via.placeholder.com/384', sizes: '384x384', type: 'image/png' },
      { src: 'https://via.placeholder.com/512', sizes: '512x512', type: 'image/png' },
    ]
  });
}

Regards,
Marius

@beaufortfrancois
Copy link
Contributor

@jernoble Is this a known issue?

@eric-carlson
Copy link

This is bug #247043

@chrisn
Copy link
Member

chrisn commented Nov 28, 2022

Thank you for reporting this, I'll close it as this isn't a spec issue.

@chrisn chrisn closed this as completed Nov 28, 2022
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

No branches or pull requests

4 participants