diff options
author | Robin <robinkooli@users.noreply.github.com> | 2019-08-16 09:17:41 +0300 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-16 08:17:41 +0200 |
commit | 13176a07a95984a53cc59aec5217f2ce9806d1bc (patch) | |
tree | d58cae990d2d0cd4361531c6920344c1c12d70c3 /client/src/standalone | |
parent | b5addd536fe3b42ee662a58020c1adf0278f74d0 (diff) | |
download | PeerTube-13176a07a95984a53cc59aec5217f2ce9806d1bc.tar.gz PeerTube-13176a07a95984a53cc59aec5217f2ce9806d1bc.tar.zst PeerTube-13176a07a95984a53cc59aec5217f2ce9806d1bc.zip |
Cleaner warning of IP address leaking on embedded videos (#2034)
* Update peertube-skin.scss
* Update embed.ts
Diffstat (limited to 'client/src/standalone')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 6ff3efef1..19d2a1d02 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -239,7 +239,7 @@ export class PeerTubeEmbed { | |||
239 | 239 | ||
240 | const config: ServerConfig = await configResponse.json() | 240 | const config: ServerConfig = await configResponse.json() |
241 | const description = config.tracker.enabled && this.warningTitle | 241 | const description = config.tracker.enabled && this.warningTitle |
242 | ? '<span class="text">' + this.player.localize('Uses P2P, others may know your IP is downloading this video.') + '</span>' | 242 | ? '<span class="text">' + this.player.localize('Watching this video may reveal your IP address to others.') + '</span>' |
243 | : undefined | 243 | : undefined |
244 | 244 | ||
245 | this.player.dock({ | 245 | this.player.dock({ |