From c2bc70c18d2fd1c3601b32f2a93b3b4a704786a5 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 18 Sep 2023 21:00:56 -0700 Subject: Reimplement BrowserSource as a StreamingPlugin BrowserSource now fades text out continuously over time. TODO * Delete C++ webserver, browsersource, transcript code * Add UI for text age fading --- BrowserSource/index.html | 81 +++++++++++++++++++++++++++--------------------- 1 file changed, 46 insertions(+), 35 deletions(-) (limited to 'BrowserSource') diff --git a/BrowserSource/index.html b/BrowserSource/index.html index 28053e3..216e013 100644 --- a/BrowserSource/index.html +++ b/BrowserSource/index.html @@ -60,42 +60,53 @@
- - $('#content').html(contentHtml); - $('#content').css("background-color", "#22222280"); - }, - error: function(jqXHR, textStatus, errorThrown) { - console.error('Error getting transcript: ', textStatus, errorThrown); - } - }); - scrollToBottom(); - } - setInterval(getTranscript, /*interval_ms=*/100); - -- cgit v1.2.3