mirror of https://github.com/Chocobozzz/PeerTube
Cleaner warning of IP address leaking on embedded videos (#2034)
* Update peertube-skin.scss * Update embed.ts
This commit is contained in:
parent
b5addd536f
commit
13176a07a9
|
@ -20,11 +20,6 @@
|
||||||
.vjs-dock-description {
|
.vjs-dock-description {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
|
|
||||||
.text::before, .text::after {
|
|
||||||
display: inline-block;
|
|
||||||
content: '\1F308';
|
|
||||||
}
|
|
||||||
|
|
||||||
.text::before {
|
.text::before {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -239,7 +239,7 @@ export class PeerTubeEmbed {
|
||||||
|
|
||||||
const config: ServerConfig = await configResponse.json()
|
const config: ServerConfig = await configResponse.json()
|
||||||
const description = config.tracker.enabled && this.warningTitle
|
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
|
: undefined
|
||||||
|
|
||||||
this.player.dock({
|
this.player.dock({
|
||||||
|
|
Loading…
Reference in New Issue