aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorRobin <robinkooli@users.noreply.github.com>2019-08-16 09:17:41 +0300
committerChocobozzz <me@florianbigard.com>2019-08-16 08:17:41 +0200
commit13176a07a95984a53cc59aec5217f2ce9806d1bc (patch)
treed58cae990d2d0cd4361531c6920344c1c12d70c3 /client/src
parentb5addd536fe3b42ee662a58020c1adf0278f74d0 (diff)
downloadPeerTube-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')
-rw-r--r--client/src/sass/player/peertube-skin.scss5
-rw-r--r--client/src/standalone/videos/embed.ts2
2 files changed, 1 insertions, 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 @@
20 .vjs-dock-description { 20 .vjs-dock-description {
21 font-size: 11px; 21 font-size: 11px;
22 22
23 .text::before, .text::after {
24 display: inline-block;
25 content: '\1F308';
26 }
27
28 .text::before { 23 .text::before {
29 margin-right: 4px; 24 margin-right: 4px;
30 } 25 }
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({