Fix video full description
This commit is contained in:
parent
afffe98839
commit
975e6e0e44
12 changed files with 109 additions and 620 deletions
|
@ -193,8 +193,12 @@ function fetchRemoteVideoPreview (video: VideoInstance) {
|
|||
}
|
||||
|
||||
async function fetchRemoteVideoDescription (video: VideoInstance) {
|
||||
// FIXME: use url
|
||||
const host = video.VideoChannel.Account.Server.host
|
||||
const path = video.getDescriptionPath()
|
||||
const options = {
|
||||
uri: video.url
|
||||
uri: REMOTE_SCHEME.HTTP + '://' + host + path,
|
||||
json: true
|
||||
}
|
||||
|
||||
const { body } = await doRequest(options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue