Skip to content

Commit f3a0286

Browse files
committed
refactor: comment out previous and next line logic
1 parent f332970 commit f3a0286

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/video-player/javascript/modules/subtitles

packages/video-player/javascript/modules/subtitles/subtitles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,9 +685,9 @@ async function generateCaptionsFromVTT(params: {
685685
let text = currentText;
686686
if (previousText || nextText) {
687687
const contextLines: string[] = [];
688-
if (previousText) contextLines.push(previousText);
688+
// if (previousText) contextLines.push(previousText);
689689
contextLines.push(currentText);
690-
if (nextText) contextLines.push(nextText);
690+
// if (nextText) contextLines.push(nextText);
691691
text = contextLines.join('\n');
692692
}
693693

0 commit comments

Comments
 (0)