1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<!DOCTYPE html> <meta charset="utf-8"> <title>Media Session Image Test Page</title> <body> <script> navigator.mediaSession.metadata = new MediaMetadata({ artwork: [ {src: "test_image.jpg", sizes: "1x1", type: "image/jpeg"}, {src: "test_image.jpg", sizes: "10x10", type: "image/jpeg"} ] }); </script> <video id="video" controls> <source src="video-6seconds.webm"> </video> </body>