From 00733baf3d3dd3d5fc0c0ed67f167555aae905b7 Mon Sep 17 00:00:00 2001 From: carlobortolan Date: Tue, 12 Nov 2024 14:56:17 +0100 Subject: [PATCH] Add autoplay for transcript click events; clean up transcript.ts --- web/template/partial/stream/transcript.gohtml | 13 +-- web/template/watch.gohtml | 7 +- web/ts/TUMLiveVjs.ts | 5 +- web/ts/track-bars.ts | 3 +- web/ts/transcript.ts | 104 ++++++++---------- 5 files changed, 61 insertions(+), 71 deletions(-) diff --git a/web/template/partial/stream/transcript.gohtml b/web/template/partial/stream/transcript.gohtml index 8dddc0acb..8979620c1 100644 --- a/web/template/partial/stream/transcript.gohtml +++ b/web/template/partial/stream/transcript.gohtml @@ -1,5 +1,5 @@ {{define "transcript-modal"}} -
@@ -16,13 +16,6 @@
{{template "transcript-list" .}}
-
{{end}} @@ -30,13 +23,13 @@ {{define "transcript-list"}}