Update transcript-tracer.js
Browse files- transcript-tracer.js +0 -16
transcript-tracer.js
CHANGED
@@ -627,23 +627,7 @@ function handleSelection() {
|
|
627 |
// ====================================================================================================
|
628 |
|
629 |
// Used for computing the start seconds
|
630 |
-
var startWordElementForTime = startWordElementForHighlight;
|
631 |
-
|
632 |
-
// TODO: `nextElementSibling` can go beyond the <p> ... </p>
|
633 |
-
while (startWordElementForTime.className == "tt-whitespace" || (startWordElementForTime.dataset.ttWord === undefined)) {
|
634 |
-
startWordElementForTime = startWordElementForTime.nextElementSibling;
|
635 |
-
}
|
636 |
-
|
637 |
-
var startWordIndexForTime = startWordElementForTime.dataset.ttWord;
|
638 |
-
var startSeconds = ttLinkedDataByMediaUrl[mediaUrl].wordTimings[startWordIndexForTime].startSeconds;
|
639 |
-
|
640 |
-
console.log(startWordElement);
|
641 |
-
console.log(startWordElementForHighlight);
|
642 |
-
console.log(startWordElementForTime);
|
643 |
-
console.log(startWordIndexForTime);
|
644 |
-
console.log(startSeconds);
|
645 |
|
646 |
-
return;
|
647 |
|
648 |
// ====================================================================================================
|
649 |
|
|
|
627 |
// ====================================================================================================
|
628 |
|
629 |
// Used for computing the start seconds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
630 |
|
|
|
631 |
|
632 |
// ====================================================================================================
|
633 |
|