1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Fix privacy concern for remote videos

This commit is contained in:
Chocobozzz 2021-10-21 09:24:22 +02:00
parent 97b6428af7
commit 5196817c5d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 24 additions and 21 deletions

View file

@ -669,7 +669,7 @@ export class PeerTubeEmbed {
const title = this.title ? videoInfo.name : undefined
const description = this.config.tracker.enabled && this.warningTitle
const description = this.warningTitle && (!videoInfo.isLocal || this.config.tracker.enabled)
? '<span class="text">' + peertubeTranslate('Watching this video may reveal your IP address to others.') + '</span>'
: undefined