diff options
Diffstat (limited to 'server/controllers/services.ts')
-rw-r--r-- | server/controllers/services.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/services.ts b/server/controllers/services.ts index bd4404b62..352d0b19a 100644 --- a/server/controllers/services.ts +++ b/server/controllers/services.ts | |||
@@ -29,8 +29,8 @@ function generateOEmbed (req: express.Request, res: express.Response, next: expr | |||
29 | const maxHeight = parseInt(req.query.maxheight, 10) | 29 | const maxHeight = parseInt(req.query.maxheight, 10) |
30 | const maxWidth = parseInt(req.query.maxwidth, 10) | 30 | const maxWidth = parseInt(req.query.maxwidth, 10) |
31 | 31 | ||
32 | const embedUrl = webserverUrl + video.getEmbedPath() | 32 | const embedUrl = webserverUrl + video.getEmbedStaticPath() |
33 | let thumbnailUrl = webserverUrl + video.getPreviewPath() | 33 | let thumbnailUrl = webserverUrl + video.getPreviewStaticPath() |
34 | let embedWidth = EMBED_SIZE.width | 34 | let embedWidth = EMBED_SIZE.width |
35 | let embedHeight = EMBED_SIZE.height | 35 | let embedHeight = EMBED_SIZE.height |
36 | 36 | ||