]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
video embed: use instance name as html title
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>
Tue, 8 Dec 2020 14:28:14 +0000 (15:28 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 14 Dec 2020 14:25:51 +0000 (15:25 +0100)
client/src/standalone/videos/embed.html
server/lib/client-html.ts

index a44bf56a39e9e94165dbf8e9eb94038d946b6c93..7d09bfb8f750dac21d8fd1053167ec45c82ba7dc 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
   <head>
-    <title>PeerTube</title>
+    <!-- title tag -->
 
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
index 6a457a711c98dcdad02cd3f669cc9909542b5c01..f19ec7df02ebe6ca540c932b951c21a310b51e32 100644 (file)
@@ -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