1
0
Fork 0

Cleaner warning of IP address leaking on embedded videos (#2034)

* Update peertube-skin.scss

* Update embed.ts
This commit is contained in:
Robin 2019-08-16 09:17:41 +03:00 committed by Chocobozzz
parent b5addd536f
commit 13176a07a9
2 changed files with 1 additions and 6 deletions

View File

@ -20,11 +20,6 @@
.vjs-dock-description {
font-size: 11px;
.text::before, .text::after {
display: inline-block;
content: '\1F308';
}
.text::before {
margin-right: 4px;
}

View File

@ -239,7 +239,7 @@ export class PeerTubeEmbed {
const config: ServerConfig = await configResponse.json()
const description = config.tracker.enabled && this.warningTitle
? '<span class="text">' + this.player.localize('Uses P2P, others may know your IP is downloading this video.') + '</span>'
? '<span class="text">' + this.player.localize('Watching this video may reveal your IP address to others.') + '</span>'
: undefined
this.player.dock({