diff options
Diffstat (limited to 'web/script/player/player.ts')
-rw-r--r-- | web/script/player/player.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/script/player/player.ts b/web/script/player/player.ts index cc778f0..81a315e 100644 --- a/web/script/player/player.ts +++ b/web/script/player/player.ts @@ -83,7 +83,7 @@ export class Player { this.profile_selector = new ProfileSelector(this, this.downloader.bandwidth, metadata) this.set_pers("Checking codec support...") await this.profile_selector.init() - + this.duration.value = metadata.duration this.video.src = URL.createObjectURL(this.media_source) this.media_source.addEventListener("sourceopen", async () => { |