Created
March 7, 2020 11:26
-
-
Save gotbahn/e22b993d28374e21cc9b85889692faf0 to your computer and use it in GitHub Desktop.
Media Session. Artwork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.navigator.mediaSession.metadata = new window.MediaMetadata({ | |
// ... | |
artwork: [ | |
{ | |
sizes: '128x128', | |
src: 'https://images.zattoo.com/9e746/128x128.jpg', | |
type: 'image/jpeg', | |
}, | |
{ | |
sizes: '256x256', | |
src: 'https://images.zattoo.com/9e746/256x256.jpg', | |
type: 'image/jpeg', | |
}, | |
{ | |
sizes: '512x512', | |
src: 'https://images.zattoo.com/9e746/512x512.jpg', | |
type: 'image/jpeg', | |
}, | |
], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment