watch-party/frontend/create.html

53 lines
1.4 KiB
HTML
Raw Normal View History

2021-11-11 09:26:30 -08:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>watch party :D</title>
2021-12-03 12:28:36 -08:00
<link rel="stylesheet" href="/styles.css?v=5" />
2021-11-11 09:26:30 -08:00
</head>
<body>
<noscript>
This site will <em>not</em> work without JavaScript, and there's not
really any way around that :(
</noscript>
<div id="create-controls">
<form id="create-session-form">
<h2>Create a session</h2>
<label for="create-session-video">Video:</label>
<input
type="text"
id="create-session-video"
placeholder="https://video.example.com/example.mp4"
required
/>
<!-- TODO: Ability to add multiple subtitles for different languages -->
<label for="create-session-subs">Subtitles:</label>
<input
type="text"
id="create-session-subs"
placeholder="https://video.example.com/example.vtt"
/>
<label for="create-session-subs-name">Subtitle track name:</label>
<input
type="text"
id="create-session-subs-name"
placeholder="English"
/>
<button>Create</button>
</form>
<p>
Already have a session?
<a href="/">Join your session</a> instead.
</p>
</div>
2021-12-03 12:28:36 -08:00
<script type="module" src="/create.mjs?v=5"></script>
2021-11-11 09:26:30 -08:00
</body>
</html>