diff options
Diffstat (limited to 'web/script/player/player.ts')
-rw-r--r-- | web/script/player/player.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 <metamuffin.org> */ +/// <reference lib="dom" /> 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() |