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

Description Nick 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.
Comment 1 Nick 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.
Comment 2 Radar WebKit Bug Importer 2022-12-06 14:53:20 PST
<rdar://problem/103043324>
Comment 3 Jean-Yves Avenard [:jya] 2022-12-08 17:24:17 PST

*** This bug has been marked as a duplicate of bug 247043 ***