From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Tue, 8 Dec 2020 14:28:14 +0000 (+0100) Subject: video embed: use instance name as html title X-Git-Tag: v3.0.0-rc.1~23 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=915e2bbb97a85b53b4d7b7e2f2d9a416c891a0fb;hp=ecc69f6b9b1a214677a8028d86d6895a44ede74d;p=github%2FChocobozzz%2FPeerTube.git video embed: use instance name as html title --- 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