fix: fix /undefined request for gifv (#1044)

* fix: fix /undefined request for gifv

fixes #1042 for real this time

* use poster instead
This commit is contained in:
Nolan Lawson 2019-02-23 19:26:06 -08:00 committed by GitHub
parent e3888586bb
commit df8c49cb57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,9 +11,9 @@
{:elseif type === 'gifv'} {:elseif type === 'gifv'}
<video <video
class="media-fit" class="media-fit"
style="background-image:url({static_url});"
aria-label={description} aria-label={description}
src={url} src={url}
{poster}
autoplay autoplay
muted muted
loop loop