Cleaner warning of IP address leaking on embedded videos (#2034)
authorRobin <robinkooli@users.noreply.github.com>
Fri, 16 Aug 2019 06:17:41 +0000 (09:17 +0300)
committerChocobozzz <me@florianbigard.com>
Fri, 16 Aug 2019 06:17:41 +0000 (08:17 +0200)
* Update peertube-skin.scss

* Update embed.ts

client/src/sass/player/peertube-skin.scss
client/src/standalone/videos/embed.ts

index 996024adeb7f6d20cba4ba670972b63e442845d1..039cf7e00d3ef082b7efa245deb6bec7286284a9 100644 (file)
   .vjs-dock-description {
     font-size: 11px;
 
-    .text::before, .text::after {
-      display: inline-block;
-      content: '\1F308';
-    }
-
     .text::before {
       margin-right: 4px;
     }
index 6ff3efef1afd6ebc551b6da4417404b253e665cd..19d2a1d023d73fb29a3c92c6e8790e656784c1eb 100644 (file)
@@ -239,7 +239,7 @@ export class PeerTubeEmbed {
 
       const config: ServerConfig = await configResponse.json()
       const description = config.tracker.enabled && this.warningTitle
-        ? '<span class="text">' + this.player.localize('Uses P2P, others may know your IP is downloading this video.') + '</span>'
+        ? '<span class="text">' + this.player.localize('Watching this video may reveal your IP address to others.') + '</span>'
         : undefined
 
       this.player.dock({