aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-27 09:08:34 +0200
committerChocobozzz <me@florianbigard.com>2018-06-27 09:08:34 +0200
commit49799b165e3cd547f1dbb23bd31369baca0b39da (patch)
treec2cb1751bf895848d819615917543a89dc1dc6c6 /server
parent0892f756aad67502ef437f939c758ad7a3792084 (diff)
downloadPeerTube-49799b165e3cd547f1dbb23bd31369baca0b39da.tar.gz
PeerTube-49799b165e3cd547f1dbb23bd31369baca0b39da.tar.zst
PeerTube-49799b165e3cd547f1dbb23bd31369baca0b39da.zip
Add author_url in oembed response
Diffstat (limited to 'server')
-rw-r--r--server/controllers/services.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/services.ts b/server/controllers/services.ts
index 1dd8e28e5..bd4404b62 100644
--- a/server/controllers/services.ts
+++ b/server/controllers/services.ts
@@ -56,6 +56,7 @@ function generateOEmbed (req: express.Request, res: express.Response, next: expr
56 height: embedHeight, 56 height: embedHeight,
57 title: video.name, 57 title: video.name,
58 author_name: video.VideoChannel.Account.name, 58 author_name: video.VideoChannel.Account.name,
59 author_url: video.VideoChannel.Account.Actor.url,
59 provider_name: 'PeerTube', 60 provider_name: 'PeerTube',
60 provider_url: webserverUrl 61 provider_url: webserverUrl
61 } 62 }