From 13176a07a95984a53cc59aec5217f2ce9806d1bc Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 16 Aug 2019 09:17:41 +0300 Subject: [PATCH] Cleaner warning of IP address leaking on embedded videos (#2034) * Update peertube-skin.scss * Update embed.ts --- client/src/sass/player/peertube-skin.scss | 5 ----- client/src/standalone/videos/embed.ts | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index 996024ade..039cf7e00 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss @@ -20,11 +20,6 @@ .vjs-dock-description { font-size: 11px; - .text::before, .text::after { - display: inline-block; - content: '\1F308'; - } - .text::before { margin-right: 4px; } 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 { const config: ServerConfig = await configResponse.json() const description = config.tracker.enabled && this.warningTitle - ? '' + this.player.localize('Uses P2P, others may know your IP is downloading this video.') + '' + ? '' + this.player.localize('Watching this video may reveal your IP address to others.') + '' : undefined this.player.dock({ -- 2.41.0