From: Robin Date: Fri, 16 Aug 2019 06:17:41 +0000 (+0300) Subject: Cleaner warning of IP address leaking on embedded videos (#2034) X-Git-Tag: v2.0.0-rc.1~130 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=13176a07a95984a53cc59aec5217f2ce9806d1bc;p=oweals%2Fpeertube.git Cleaner warning of IP address leaking on embedded videos (#2034) * Update peertube-skin.scss * Update embed.ts --- 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({