aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-21 09:24:22 +0200
committerChocobozzz <me@florianbigard.com>2021-10-21 09:24:22 +0200
commit5196817c5d7cf86b35f3fa2cfe108ba283944482 (patch)
treee8d669b5c0e740ab7578b74984359177eb7b47de /client/src/standalone/videos
parent97b6428af78d7b00d9b57e1a317d1355f5e76939 (diff)
downloadPeerTube-5196817c5d7cf86b35f3fa2cfe108ba283944482.tar.gz
PeerTube-5196817c5d7cf86b35f3fa2cfe108ba283944482.tar.zst
PeerTube-5196817c5d7cf86b35f3fa2cfe108ba283944482.zip
Fix privacy concern for remote videos
Diffstat (limited to 'client/src/standalone/videos')
-rw-r--r--client/src/standalone/videos/embed.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index a6f0b2ed9..9d1c6c443 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -669,7 +669,7 @@ export class PeerTubeEmbed {
669 669
670 const title = this.title ? videoInfo.name : undefined 670 const title = this.title ? videoInfo.name : undefined
671 671
672 const description = this.config.tracker.enabled && this.warningTitle 672 const description = this.warningTitle && (!videoInfo.isLocal || this.config.tracker.enabled)
673 ? '<span class="text">' + peertubeTranslate('Watching this video may reveal your IP address to others.') + '</span>' 673 ? '<span class="text">' + peertubeTranslate('Watching this video may reveal your IP address to others.') + '</span>'
674 : undefined 674 : undefined
675 675