-
Notifications
You must be signed in to change notification settings - Fork 112
/
index.html
47 lines (44 loc) · 1.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<title>Fast and Dirty Captioner</title>
<head>
<meta charset="UTF-8" />
<style>
.video {
width: 960px;
}
</style>
</head>
<body>
<p>選取字幕檔以及影片檔案開始製作 SRT!</p>
<label>
<span>選擇字幕檔案:</span>
<input
id="srtFile"
type="file"
name="srtFile"
placeholder="點擊上傳字幕檔"
/>
</label>
<label>
<span>選擇影片檔案:</span>
<input
id="videoFile"
type="file"
name="videoFile"
placeholder="點擊上傳影片檔"
/>
</label>
<p>
K: 下一行開始 | L: 這一行提前結束 | I: 前捲一行 | O: 後捲一行 | U: 倒帶 2
秒 | P: 前進 2 秒 | Q: 製作 SRT 檔
</p>
<p>
K: Next Line | L: This Line Ends Early | I: Scroll Back | O: Scroll
Forward | U: Rewind | P: Forward | Q: Make SRT File
</p>
<p id="status">Test Text.</p>
<textarea id="textArea" rows="10" cols="80">預設的字。</textarea>
<video class="video" id="video" controls></video>
</body>
<script src="main.js"></script>
</html>