fix: fix /undefined request for video poster (#1043)

fixes #1042
This commit is contained in:
Nolan Lawson 2019-02-23 18:42:19 -08:00 committed by GitHub
parent fabf9399f2
commit e3888586bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
type: ({ media }) => media.type, type: ({ media }) => media.type,
url: ({ media }) => media.url, url: ({ media }) => media.url,
description: ({ media }) => media.description || '', description: ({ media }) => media.description || '',
poster: ({ media }) => media.poster, poster: ({ media }) => media.preview_url,
static_url: ({ media }) => media.static_url, static_url: ({ media }) => media.static_url,
intrinsicsize: ({ media }) => { intrinsicsize: ({ media }) => {
if (media.meta && media.meta.original && media.meta.original.width && media.meta.original.height) { if (media.meta && media.meta.original && media.meta.original.width && media.meta.original.height) {