Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

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

Robin13176a07a959
diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss
index 996024adeb..039cf7e00d 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 6ff3efef1a..19d2a1d023 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
- ? '<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({