16 lines
900 B
HTML
16 lines
900 B
HTML
<!doctype html>
|
|
<html>
|
|
<!-- Integrations test page (S009): muted looping video (clip.webm) with Media Session metadata and a
|
|
data: favicon, which Discord can't fetch, so the activity's icon must fall back to /favicon.ico. -->
|
|
<head><meta charset="utf-8"><title>Smoke media page</title>
|
|
<link rel="icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==">
|
|
<style>body { margin: 0; background: #1c3a5e; color: #fff; font: bold 40px sans-serif; text-align: center; }
|
|
video { display: block; margin: 20px auto; width: 480px; height: 270px; background: #000; }</style></head>
|
|
<body>
|
|
<div>SMOKE MEDIA</div>
|
|
<video id="v" src="clip.webm" muted loop autoplay></video>
|
|
<script>
|
|
navigator.mediaSession.metadata = new MediaMetadata({ title: 'Smoke Track', artist: 'Smoke Artist', album: 'Smoke Album' });
|
|
</script>
|
|
</body>
|
|
</html>
|