ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix "stats for nerds" card in HTTP mode
Chocobozzzdb0159c7f206
diff --git a/client/src/assets/player/stats/stats-card.ts b/client/src/assets/player/stats/stats-card.tsindex d9f0d2fe9d..a93f595062 100644--- a/client/src/assets/player/stats/stats-card.ts+++ b/client/src/assets/player/stats/stats-card.ts@@ -89,9 +89,9 @@ class StatsCard extends Component {this.container.style.display = 'block'this.updateInterval = setInterval(async () => {try {- const options = this.mode === 'webtorrent'- ? await this.buildWebTorrentOptions()- : await this.buildHLSOptions()+ const options = this.mode === 'p2p-media-loader'+ ? await this.buildHLSOptions()+ : await this.buildWebTorrentOptions() // Defaultthis.list.innerHTML = this.getListTemplate(options)} catch (err) {@@ -212,7 +212,7 @@ class StatsCard extends Component {: undefinedreturn `- ${this.buildElement(player.localize('Player mode'), this.options_.mode)}+ ${this.buildElement(player.localize('Player mode'), this.mode || 'HTTP')}${this.buildElement(player.localize('Video UUID'), this.options_.videoUUID)}