Files
fast-srt-subtitle/index.html
Wiwi Kuan fd2ab11859 Fixed the "K" key logic.
Changed the forward/rewind time to 2 secs.
2021-02-18 19:59:24 +08:00

48 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>