From 13176a07a95984a53cc59aec5217f2ce9806d1bc Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 16 Aug 2019 09:17:41 +0300 Subject: Cleaner warning of IP address leaking on embedded videos (#2034) * Update peertube-skin.scss * Update embed.ts --- client/src/standalone/videos/embed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/standalone') 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({ -- cgit v1.2.3