32 lines
897 B
HTML
32 lines
897 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>VTT Embed</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="/style.css">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>VTT Embed</h1>
|
|
|
|
<p><strong>Add captions to embedded YouTube videos
|
|
(and others)</strong></p>
|
|
|
|
<hr/>
|
|
|
|
<p>Use this form to get the code to embed a video:</p>
|
|
|
|
<form accept-charset="utf-8" method="post">
|
|
<label for="url">Enter video/page URL:</label>
|
|
<br/>
|
|
<input type="url" name="url" id="url"
|
|
placeholder="https://www.youtube.com/watch?v=vv208qmcVeo">
|
|
|
|
<br/>
|
|
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
|
|
<!-- code gets inserted here by script on submit -->
|
|
<!-- end `.page-start.html`. see `.page-end.html` to next part -->
|