Bug 248737 - REGRESSION (Safari 16): Unable to set image in media sessions metadata.
Summary: REGRESSION (Safari 16): Unable to set image in media sessions metadata.
Status: RESOLVED DUPLICATE of bug 247043
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 16
Hardware: Mac (Intel) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-04 03:35 PST by Nick
Modified: 2022-12-08 17:24 PST (History)
2 users (show)

See Also:


Attachments
Now playing widget screenshot (34.02 KB, image/png)
2022-12-04 03:35 PST, Nick
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***