Add author_url in oembed response
This commit is contained in:
parent
0892f756aa
commit
49799b165e
|
@ -56,6 +56,7 @@ function generateOEmbed (req: express.Request, res: express.Response, next: expr
|
||||||
height: embedHeight,
|
height: embedHeight,
|
||||||
title: video.name,
|
title: video.name,
|
||||||
author_name: video.VideoChannel.Account.name,
|
author_name: video.VideoChannel.Account.name,
|
||||||
|
author_url: video.VideoChannel.Account.Actor.url,
|
||||||
provider_name: 'PeerTube',
|
provider_name: 'PeerTube',
|
||||||
provider_url: webserverUrl
|
provider_url: webserverUrl
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue