We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f332970 commit f3a0286Copy full SHA for f3a0286
1 file changed
packages/video-player/javascript/modules/subtitles/subtitles.ts
@@ -685,9 +685,9 @@ async function generateCaptionsFromVTT(params: {
685
let text = currentText;
686
if (previousText || nextText) {
687
const contextLines: string[] = [];
688
- if (previousText) contextLines.push(previousText);
+ // if (previousText) contextLines.push(previousText);
689
contextLines.push(currentText);
690
- if (nextText) contextLines.push(nextText);
+ // if (nextText) contextLines.push(nextText);
691
text = contextLines.join('\n');
692
}
693
0 commit comments