From 915e2bbb97a85b53b4d7b7e2f2d9a416c891a0fb Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Tue, 8 Dec 2020 15:28:14 +0100 Subject: [PATCH] video embed: use instance name as html title --- client/src/standalone/videos/embed.html | 2 +- server/lib/client-html.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index a44bf56a3..7d09bfb8f 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html @@ -1,7 +1,7 @@ - PeerTube + diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index 6a457a711..f19ec7df0 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts @@ -211,6 +211,7 @@ class ClientHtml { let html = buffer.toString() html = await ClientHtml.addAsyncPluginCSS(html) html = ClientHtml.addCustomCSS(html) + html = ClientHtml.addTitleTag(html) ClientHtml.htmlCache[path] = html -- 2.41.0