video embed: use instance name as html title

This commit is contained in:
kontrollanten 2020-12-08 15:28:14 +01:00 committed by Chocobozzz
parent ecc69f6b9b
commit 915e2bbb97
2 changed files with 2 additions and 1 deletions

View 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">

View 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