From 15d4a4e3cf960259c3b343fa4d1f518df044dba5 Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Mon, 11 Nov 2024 19:49:29 -0600 Subject: [PATCH] Make the video load bar work properly --- thrimbletrimmer/src/restreamer/Restreamer.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/thrimbletrimmer/src/restreamer/Restreamer.tsx b/thrimbletrimmer/src/restreamer/Restreamer.tsx index 1eccaca..d74c73d 100644 --- a/thrimbletrimmer/src/restreamer/Restreamer.tsx +++ b/thrimbletrimmer/src/restreamer/Restreamer.tsx @@ -1,6 +1,7 @@ import { Accessor, Component, + createEffect, createResource, createSignal, For, @@ -94,6 +95,11 @@ const RestreamerWithDefaults: Component = (props) => { streamEndTime: null, }); + createEffect(() => { + const info = streamVideoInfo(); + console.log(info); + }); + const videoURL = () => { const streamInfo = streamVideoInfo(); const startTime = wubloaderTimeFromDateTime(streamInfo.streamStartTime); @@ -117,6 +123,8 @@ const RestreamerWithDefaults: Component = (props) => { streamVideoInfo={streamVideoInfo} setStreamVideoInfo={setStreamVideoInfo} showTimeRangeLink={false} + errorList={props.errorList} + setErrorList={props.setErrorList} />