diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-12 19:02:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-16 11:50:08 +0200 |
commit | 40e87e9ecc54e3513fb586928330a7855eb192c6 (patch) | |
tree | af1111ecba85f9cd8286811ff332a67cf21be2f6 /server/controllers/client.ts | |
parent | d4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2 (diff) | |
download | PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.gz PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.zst PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.zip |
Implement captions/subtitles
Diffstat (limited to 'server/controllers/client.ts')
-rw-r--r-- | server/controllers/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index 5413f61e8..bfdf35021 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -118,7 +118,7 @@ function addOpenGraphAndOEmbedTags (htmlStringPage: string, video: VideoModel) { | |||
118 | 118 | ||
119 | const videoNameEscaped = escapeHTML(video.name) | 119 | const videoNameEscaped = escapeHTML(video.name) |
120 | const videoDescriptionEscaped = escapeHTML(video.description) | 120 | const videoDescriptionEscaped = escapeHTML(video.description) |
121 | const embedUrl = CONFIG.WEBSERVER.URL + video.getEmbedPath() | 121 | const embedUrl = CONFIG.WEBSERVER.URL + video.getEmbedStaticPath() |
122 | 122 | ||
123 | const openGraphMetaTags = { | 123 | const openGraphMetaTags = { |
124 | 'og:type': 'video', | 124 | 'og:type': 'video', |