Add files via upload

change rewind/forward to 3 sec.
This commit is contained in:
Wiwi Kuan
2020-02-28 18:21:16 +08:00
committed by GitHub
parent 753976bd4b
commit 306d4a1cb3
2 changed files with 6 additions and 6 deletions

View File

@@ -98,8 +98,8 @@
</head>
<body>
<p>Firefox 而不要用 Chrome。開 HTTP Server影片檔名取 video.mp4字幕文字檔 subs.txt每句分行</p>
<p>K: 下一行開始 | L: 這一行提前結束 | I: 前捲一行 | O: 後捲一行 | U: 倒帶 5 秒 | P: 前進 5 秒 | Q: 製作 SRT 檔</p>
<p>Node 開 HTTP Server影片檔名取 video.mp4字幕文字檔 subs.txt每句分行,放在同一資料夾</p>
<p>K: 下一行開始 | L: 這一行提前結束 | I: 前捲一行 | O: 後捲一行 | U: 倒帶 3 秒 | P: 前進 3 秒 | 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>

View File

@@ -74,11 +74,11 @@ function keyPressed() {
// Q : Make SRT
makeSRT();
} else if (keyCode === 85) { // U
vid.elt.currentTime -= 5;
vid.elt.currentTime -= 3;
} else if (keyCode === 80) { // P
vid.elt.currentTime += 5
vid.elt.currentTime += 3;
}
}