Files
carplay/public/index.html

56 lines
2.3 KiB
HTML
Raw Permalink Normal View History

2026-05-01 21:51:25 -07:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Frame Stream Player</title>
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<main class="app">
<section id="entry-screen" class="entry-screen" aria-label="Stream URL">
2026-05-01 22:08:50 -07:00
<div class="entry-stack">
<form id="stream-form" class="url-form">
<label class="sr-only" for="stream-url">Video stream URL</label>
<input
id="stream-url"
name="url"
type="url"
placeholder="Video stream URL"
autocomplete="off"
required
>
<button id="next" type="submit">Next</button>
</form>
<div id="recent-panel" class="recent-panel" aria-label="Recently played URLs" hidden>
<div id="recent-list" class="recent-list"></div>
</div>
</div>
2026-05-01 21:51:25 -07:00
<div id="entry-message" class="message" role="status" aria-live="polite"></div>
</section>
<section id="player-screen" class="player-screen" aria-label="Player" hidden>
<div id="video-stage" class="video-stage">
<canvas id="screen" width="960" height="540" aria-label="Video frame"></canvas>
<div id="loader" class="loader" aria-hidden="true"></div>
<div id="player-message" class="player-message" role="status" aria-live="polite"></div>
<div id="controls" class="controls">
2026-05-02 18:53:35 -07:00
<div id="playhead" class="playhead">
<output id="current-time" class="time-badge current-time" for="seek">0:00</output>
<input id="seek" class="seek-slider" type="range" min="0" max="1" step="0.1" value="0" aria-label="Playback position" disabled>
<output id="total-time" class="time-badge total-time" for="seek">--:--</output>
</div>
2026-05-01 21:51:25 -07:00
<button id="back" type="button" class="control-button">Back</button>
<button id="play-pause" type="button" class="control-button primary">Pause</button>
<button id="mute" type="button" class="control-button">Mute</button>
</div>
</div>
<audio id="audio" preload="none"></audio>
</section>
</main>
<script src="/app.js" type="module"></script>
</body>
</html>