MediaSession artwork cannot be retrieved from object/data URLs
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: stan.zhang2, Unassigned)
References
Details
Attachments
(1 file)
2.73 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Steps to reproduce:
Attached is a minimal test page that provides a MediaSession with artwork whose "src" is an object URL containing a PNG image (a 256x256 black triangle).
To try with a data URL, uncomment line 32 of the test page.
- Open test page.
- Click "play" on audio element.
- Press "play/pause" media key from keyboard.
Actual results:
At least on Windows 10 + Firefox 85.0b9, the system media overlay does not contain the image. This is reproducible in a new profile.
Note: the artwork is correctly populated with the same configuration, but with the artwork "src" referring to a image URL served over HTTP.
Note: Chrome is able to display artwork images from data and object URLs, both via its built-in media controls and through the system media overlay.
Expected results:
The system media overlay should have contained the image, even when loaded from a data or object URL.
Updated•4 years ago
|
Description
•