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:
parent
97b6428af7
commit
5196817c5d
5 changed files with 24 additions and 21 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue