]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/standalone/videos/embed.ts
Translated using Weblate (Galician)
[github/Chocobozzz/PeerTube.git] / client / src / standalone / videos / embed.ts
index a6f0b2ed9eee0798234e6004bef6c153a18243ae..9d1c6c443bad92e490e7c04fcc8eda398aaf838b 100644 (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