initial commit
This commit is contained in:
45
public/index.html
Normal file
45
public/index.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!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">
|
||||
<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="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">
|
||||
<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>
|
||||
Reference in New Issue
Block a user