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 ff43ce2..4c1d9fc 100644 --- a/web/script/player/player.ts +++ b/web/script/player/player.ts @@ -81,7 +81,7 @@ export class Player { this.duration.value = metadata.duration this.video.src = URL.createObjectURL(this.media_source) - this.profile_selector = new ProfileSelector(this.downloader.bandwidth, metadata) + this.profile_selector = new ProfileSelector(this, this.downloader.bandwidth, metadata) this.media_source.addEventListener("sourceopen", async () => { this.tracks.value.push(new PlayerTrack(this, this.node_id, 0, metadata.tracks[0])) |