diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2020-12-08 15:28:14 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-14 15:25:51 +0100 |
commit | 915e2bbb97a85b53b4d7b7e2f2d9a416c891a0fb (patch) | |
tree | 1771f6ab3339153aa507b51eb471e8cde24535b1 | |
parent | ecc69f6b9b1a214677a8028d86d6895a44ede74d (diff) | |
download | PeerTube-915e2bbb97a85b53b4d7b7e2f2d9a416c891a0fb.tar.gz PeerTube-915e2bbb97a85b53b4d7b7e2f2d9a416c891a0fb.tar.zst PeerTube-915e2bbb97a85b53b4d7b7e2f2d9a416c891a0fb.zip |
video embed: use instance name as html title
-rw-r--r-- | client/src/standalone/videos/embed.html | 2 | ||||
-rw-r--r-- | server/lib/client-html.ts | 1 |
2 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | <title>PeerTube</title> | 4 | <!-- title tag --> |
5 | 5 | ||
6 | <meta charset="UTF-8"> | 6 | <meta charset="UTF-8"> |
7 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 7 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
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 { | |||
211 | let html = buffer.toString() | 211 | let html = buffer.toString() |
212 | html = await ClientHtml.addAsyncPluginCSS(html) | 212 | html = await ClientHtml.addAsyncPluginCSS(html) |
213 | html = ClientHtml.addCustomCSS(html) | 213 | html = ClientHtml.addCustomCSS(html) |
214 | html = ClientHtml.addTitleTag(html) | ||
214 | 215 | ||
215 | ClientHtml.htmlCache[path] = html | 216 | ClientHtml.htmlCache[path] = html |
216 | 217 | ||