Add author_url in oembed response

This commit is contained in:
Chocobozzz 2018-06-27 09:08:34 +02:00
parent 0892f756aa
commit 49799b165e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -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
}