aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-16 09:54:45 +0100
committerChocobozzz <me@florianbigard.com>2021-12-16 10:08:55 +0100
commit85302118227bad232afdebb84a5c245f862366bd (patch)
treea3969d4bc60763c2318e95674386c8a4f1e3f6c6 /client/src/assets/player
parentb65de1be4dcf626c552be613d531d3f6e23c6085 (diff)
downloadPeerTube-85302118227bad232afdebb84a5c245f862366bd.tar.gz
PeerTube-85302118227bad232afdebb84a5c245f862366bd.tar.zst
PeerTube-85302118227bad232afdebb84a5c245f862366bd.zip
Add ability to disable p2p in embed with URL
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/stats/stats-card.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/assets/player/stats/stats-card.ts b/client/src/assets/player/stats/stats-card.ts
index 55d850eda..e76a81a74 100644
--- a/client/src/assets/player/stats/stats-card.ts
+++ b/client/src/assets/player/stats/stats-card.ts
@@ -34,7 +34,6 @@ class StatsCard extends Component {
34 updateInterval: any 34 updateInterval: any
35 35
36 mode: 'webtorrent' | 'p2p-media-loader' 36 mode: 'webtorrent' | 'p2p-media-loader'
37 p2pEnabled: boolean
38 37
39 metadataStore: any = {} 38 metadataStore: any = {}
40 39
@@ -211,7 +210,7 @@ class StatsCard extends Component {
211 210
212 return ` 211 return `
213 ${this.buildElement(player.localize('Player mode'), this.mode || 'HTTP')} 212 ${this.buildElement(player.localize('Player mode'), this.mode || 'HTTP')}
214 ${this.buildElement(player.localize('P2P'), player.localize(this.p2pEnabled ? 'enabled' : 'disabled'))} 213 ${this.buildElement(player.localize('P2P'), player.localize(this.options_.p2pEnabled ? 'enabled' : 'disabled'))}
215 214
216 ${this.buildElement(player.localize('Video UUID'), this.options_.videoUUID)} 215 ${this.buildElement(player.localize('Video UUID'), this.options_.videoUUID)}
217 216