File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9898</ head >
9999
100100< body >
101- < p > 用 Firefox 而不要用 Chrome。 開 HTTP Server,影片檔名取 video.mp4,字幕文字檔 subs.txt(每句分行)。</ p >
102- < p > K: 下一行開始 | L: 這一行提前結束 | I: 前捲一行 | O: 後捲一行 | U: 倒帶 5 秒 | P: 前進 5 秒 | Q: 製作 SRT 檔</ p >
101+ < p > 用 Node 開 HTTP Server,影片檔名取 video.mp4,字幕文字檔 subs.txt(每句分行),放在同一資料夾 。</ p >
102+ < p > K: 下一行開始 | L: 這一行提前結束 | I: 前捲一行 | O: 後捲一行 | U: 倒帶 3 秒 | P: 前進 3 秒 | Q: 製作 SRT 檔</ p >
103103 < p > K: Next Line | L: This Line Ends Early | I: Scroll Back | O: Scroll Forward | U: Rewind | P: Forward | Q: Make SRT File</ p >
104104 < p id ="status "> Test Text.</ p >
105105 < textarea id ="textArea " rows ="10 " cols ="80 "> 預設的字。</ textarea >
Original file line number Diff line number Diff line change @@ -74,11 +74,11 @@ function keyPressed() {
7474 // Q : Make SRT
7575 makeSRT ( ) ;
7676 } else if ( keyCode === 85 ) { // U
77- vid . elt . currentTime -= 5 ;
78-
77+ vid . elt . currentTime -= 3 ;
78+
7979 } else if ( keyCode === 80 ) { // P
80- vid . elt . currentTime += 5
81-
80+ vid . elt . currentTime += 3 ;
81+
8282 }
8383}
8484
You can’t perform that action at this time.
0 commit comments