diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2020-12-08 14:51:51 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-14 15:25:51 +0100 |
commit | 2564d97e0d77340ede0031936082cc37d6f8fd79 (patch) | |
tree | 3bf53a1e78d3f591c9007f0a2f942c168859a5bd /server | |
parent | ea5cdc11ff76d6292351ffc5dbbd00e44bfd7cca (diff) | |
download | PeerTube-2564d97e0d77340ede0031936082cc37d6f8fd79.tar.gz PeerTube-2564d97e0d77340ede0031936082cc37d6f8fd79.tar.zst PeerTube-2564d97e0d77340ede0031936082cc37d6f8fd79.zip |
video-embed: inject custom CSS
closes #3420
Diffstat (limited to 'server')
-rw-r--r-- | server/lib/client-html.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index 43585c591..6a457a711 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts | |||
@@ -210,6 +210,7 @@ class ClientHtml { | |||
210 | 210 | ||
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 | 214 | ||
214 | ClientHtml.htmlCache[path] = html | 215 | ClientHtml.htmlCache[path] = html |
215 | 216 | ||