mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01:00
Fix gifv not loading
This commit is contained in:
parent
2a13571328
commit
de5c33a568
1 changed files with 1 additions and 1 deletions
|
@ -551,7 +551,7 @@ function MediaAttachment({
|
|||
<div class="media-preview">
|
||||
{suffixType === 'image' ? (
|
||||
<img src={url} alt="" />
|
||||
) : suffixType === 'video' ? (
|
||||
) : suffixType === 'video' || suffixType === 'gifv' ? (
|
||||
<video src={url} playsinline muted />
|
||||
) : suffixType === 'audio' ? (
|
||||
<audio src={url} controls />
|
||||
|
|
Loading…
Reference in a new issue