65 lines
2.7 KiB
HTML
65 lines
2.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
<title>bug.tv</title>
|
|
<link rel="icon" href="/img/bug.svg" type="image/svg+xml">
|
|
<link rel="stylesheet" href="/css/activity.css">
|
|
<script type="module" src="/dist/main.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="app" class="app" data-view="boot">
|
|
<video id="video" class="video" playsinline webkit-playsinline preload="auto"></video>
|
|
<div id="backdrop" class="backdrop" aria-hidden="true"></div>
|
|
|
|
<section id="idle" class="screen idle">
|
|
<img class="idle__logo" src="/img/bug.svg" alt="" width="96" height="96">
|
|
<h1 class="idle__title">bug<span>.tv</span></h1>
|
|
<p id="idleMsg" class="idle__msg">Connecting…</p>
|
|
</section>
|
|
|
|
<section id="finding" class="screen finding">
|
|
<div class="ring" aria-hidden="true"></div>
|
|
<h1 id="findTitle" class="finding__title"></h1>
|
|
<p id="findMsg" class="finding__msg">Finding sources…</p>
|
|
</section>
|
|
|
|
<div id="spinner" class="spinner" hidden><div class="ring" aria-hidden="true"></div><p id="spinMsg"></p></div>
|
|
|
|
<button id="joinBtn" class="join" type="button" hidden>
|
|
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M8 5.14v13.72a1 1 0 0 0 1.52.85l10.9-6.86a1 1 0 0 0 0-1.7L9.52 4.29A1 1 0 0 0 8 5.14z"/></svg>
|
|
<span>Click to join playback</span>
|
|
</button>
|
|
|
|
<header id="top" class="top">
|
|
<div class="top__text">
|
|
<div id="title" class="top__title"></div>
|
|
<div id="sub" class="top__sub"></div>
|
|
</div>
|
|
<div id="srcLabel" class="top__src"></div>
|
|
</header>
|
|
|
|
<button id="unmuteBtn" class="unmute" type="button" hidden>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M11 5L6 9H3v6h3l5 4z" fill="currentColor"/><path d="M22 9l-6 6M16 9l6 6"/></svg>
|
|
<span>Unmute</span>
|
|
</button>
|
|
|
|
<footer id="bottom" class="bottom">
|
|
<div id="seek" class="seek" role="slider" tabindex="0" aria-label="Seek" aria-valuemin="0">
|
|
<div class="seek__track"><div id="seekBuf" class="seek__buf"></div><div id="seekFill" class="seek__fill"></div></div>
|
|
<div id="seekTip" class="seek__tip" hidden></div>
|
|
</div>
|
|
<div class="row">
|
|
<button id="playBtn" class="btn" type="button" aria-label="Play"></button>
|
|
<div id="time" class="time">0:00 / 0:00</div>
|
|
<div class="spacer"></div>
|
|
<div id="viewers" class="viewers" title="Watching"></div>
|
|
</div>
|
|
</footer>
|
|
|
|
<div id="toasts" class="toasts" aria-live="polite"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|