From e2c62c34b4c2983b8ceef034347bc62b28a88122 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 25 Dec 2023 16:23:44 +0100 Subject: lib=dom everywhere and error handling --- web/script/player/player.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/script/player/player.ts') diff --git a/web/script/player/player.ts b/web/script/player/player.ts index 7ffdb97..d988374 100644 --- a/web/script/player/player.ts +++ b/web/script/player/player.ts @@ -3,6 +3,7 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2023 metamuffin */ +/// import { OVar, e } from "../jshelper/mod.ts"; import { NodePublic, SourceTrack, TimeRange } from "./jhls.d.ts"; import { SegmentDownloader } from "./download.ts"; @@ -91,7 +92,7 @@ export class Player { this.duration.value = metadata.media!.duration this.video.src = URL.createObjectURL(this.media_source) this.media_source.addEventListener("sourceopen", async () => { - this.set_pers("Initializing Media Extensions...") + this.set_pers("Downloading track indecies...") this.active_tracks.value.push((await PlayerTrack.new(this, this.node_id, 0, this.tracks![0]))!) // TODO unsafe and missing ui anyway this.active_tracks.value.push((await PlayerTrack.new(this, this.node_id, 1, this.tracks![1]))!) this.active_tracks.change() -- cgit v1.2.3-70-g09d2