ydshieh HF staff commited on
Commit
b7efb7a
1 Parent(s): ce7efc5

Update transcript-tracer.js

Browse files
Files changed (1) hide show
  1. transcript-tracer.js +4 -0
transcript-tracer.js CHANGED
@@ -479,6 +479,10 @@ function handleWordClick(e) {
479
  if (wordElement.classList.contains('tt-current-word')) break;
480
  wordElement.classList.add('tt-previous-word');
481
  }
 
 
 
 
482
  }
483
 
484
  loadTranscriptTracer({ blockSelector: null, phraseSelector: null, alignmentFuzziness: 0, timeOffset: 0, autoScroll: "word", clickable: true})
 
479
  if (wordElement.classList.contains('tt-current-word')) break;
480
  wordElement.classList.add('tt-previous-word');
481
  }
482
+
483
+ // pause
484
+ ttActivePlayer.pause()
485
+
486
  }
487
 
488
  loadTranscriptTracer({ blockSelector: null, phraseSelector: null, alignmentFuzziness: 0, timeOffset: 0, autoScroll: "word", clickable: true})