diff options
Diffstat (limited to 'web/script/player/track.ts')
-rw-r--r-- | web/script/player/track.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/script/player/track.ts b/web/script/player/track.ts index 4173b12..3f1e073 100644 --- a/web/script/player/track.ts +++ b/web/script/player/track.ts @@ -82,7 +82,7 @@ export class PlayerTrack { async load(index: number) { this.loading.add(index) await this.player.profile_selector.select_optimal_profile(this.track_index, this.profile) - const url = `/n/${encodeURIComponent(this.node_id)}/stream?format=hlsseg&tracks=${this.track_index}&index=${index}${this.profile.value ? `&profile=${this.profile.value.id}` : ""}`; + const url = `/n/${encodeURIComponent(this.node_id)}/stream?format=hlsseg&webm=true&tracks=${this.track_index}&index=${index}${this.profile.value ? `&profile=${this.profile.value.id}` : ""}`; const buf = await this.player.downloader.download(url) await new Promise<void>(cb => { this.append_queue.push({ buf, ...this.metadata.segments[index], index, cb }) |