diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-27 17:37:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-27 17:37:59 +0200 |
commit | a892c54a821ae030143b07ba99ee1e159b24d35b (patch) | |
tree | 4531ced7bae2ec6c983a0a85ef4cf47f6012f18d /server/lib | |
parent | 29837f8885eb37fa300e4b80c90a6d03ab337084 (diff) | |
download | PeerTube-a892c54a821ae030143b07ba99ee1e159b24d35b.tar.gz PeerTube-a892c54a821ae030143b07ba99ee1e159b24d35b.tar.zst PeerTube-a892c54a821ae030143b07ba99ee1e159b24d35b.zip |
Fix oembed for playlists
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/client-html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index ae335240e..a557c090f 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts | |||
@@ -162,7 +162,7 @@ class ClientHtml { | |||
162 | let customHtml = ClientHtml.addTitleTag(html, escapeHTML(videoPlaylist.name)) | 162 | let customHtml = ClientHtml.addTitleTag(html, escapeHTML(videoPlaylist.name)) |
163 | customHtml = ClientHtml.addDescriptionTag(customHtml, mdToPlainText(videoPlaylist.description)) | 163 | customHtml = ClientHtml.addDescriptionTag(customHtml, mdToPlainText(videoPlaylist.description)) |
164 | 164 | ||
165 | const url = videoPlaylist.getWatchStaticPath() | 165 | const url = WEBSERVER.URL + videoPlaylist.getWatchStaticPath() |
166 | const originUrl = videoPlaylist.url | 166 | const originUrl = videoPlaylist.url |
167 | const title = escapeHTML(videoPlaylist.name) | 167 | const title = escapeHTML(videoPlaylist.name) |
168 | const siteName = escapeHTML(CONFIG.INSTANCE.NAME) | 168 | const siteName = escapeHTML(CONFIG.INSTANCE.NAME) |