Open david-allison opened 2 months ago
But more complexity, needs to handle line highlighting, but NOT if the video never loaded
Index: CorpusSearch/ClientApp/src/components/ComparisonTable.tsx IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/CorpusSearch/ClientApp/src/components/ComparisonTable.tsx b/CorpusSearch/ClientApp/src/components/ComparisonTable.tsx --- a/CorpusSearch/ClientApp/src/components/ComparisonTable.tsx (revision 17233ab8a048b09f9682137653e14679004a087f) +++ b/CorpusSearch/ClientApp/src/components/ComparisonTable.tsx (date 1713493030239) @@ -186,7 +186,7 @@ return <Fragment key={response.title + line.csvLineNumber.toString()}> <tr key={line.date} style={getLineStyle(line)}> {isVideo && <td style={{cursor: "pointer"}} onClick={() => { - if (line.subStart && player.current) { + if (line.subStart != undefined && player.current) { player.current.seek(line.subStart) } }}>▶️</td>}
But more complexity, needs to handle line highlighting, but NOT if the video never loaded