From: Chocobozzz Date: Wed, 27 Jun 2018 07:08:34 +0000 (+0200) Subject: Add author_url in oembed response X-Git-Tag: v1.0.0-beta.10.pre.1~131 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=49799b165e3cd547f1dbb23bd31369baca0b39da;p=oweals%2Fpeertube.git Add author_url in oembed response --- 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 height: embedHeight, title: video.name, author_name: video.VideoChannel.Account.name, + author_url: video.VideoChannel.Account.Actor.url, provider_name: 'PeerTube', provider_url: webserverUrl }