watch-party/frontend/create.html

53 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2023-02-02 01:18:46 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>watch party :D</title>
2023-02-02 06:38:45 +00:00
<link rel="stylesheet" href="/styles.css?v=4b61c4" />
2023-02-02 01:18:46 +00: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>
<p>
Already have a session?
<a href="/">Join your session</a> instead.
</p>
</form>
</div>
2023-02-02 06:38:45 +00:00
<script type="module" src="/create.mjs?v=4b61c4"></script>
2023-02-02 01:18:46 +00:00
</body>
</html>