Bug 248737

Summary: REGRESSION (Safari 16): Unable to set image in media sessions metadata.
Product: WebKit Reporter: Nick <hiatal-tab-0t>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jean-yves.avenard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Intel)   
OS: macOS 13   
Attachments:
Description Flags
Now playing widget screenshot none

Nick
Reported 2022-12-04 03:35:19 PST
Created attachment 463886 [details] Now playing widget screenshot Steps to reproduce: 1. Open music.yandex.com 2. Open browser console 3. Paste this code: navigator.mediaSession.metadata = new MediaMetadata({ title: "11111111111", artist: "222222222", album: "3333333333", artwork: [ { src: "https://avatars.yandex.net/get-music-content/5375761/c8e05100.a.19837155-1/200x200" } ]}); 4. Press Enter 5. Open Now playing widget Title, artist, album is set correctly. Cover not set.
Attachments
Now playing widget screenshot (34.02 KB, image/png)
2022-12-04 03:35 PST, Nick
no flags
Nick
Comment 1 2022-12-04 03:37:23 PST
Note! In macOS 12.6.1 Safari 15.6.1 (17613.3.9.1.16) all works as expected.
Radar WebKit Bug Importer
Comment 2 2022-12-06 14:53:20 PST
Jean-Yves Avenard [:jya]
Comment 3 2022-12-08 17:24:17 PST
*** This bug has been marked as a duplicate of bug 247043 ***
Note You need to log in before you can comment on or make changes to this bug.