kopia lustrzana https://github.com/cheeaun/phanpy
Fix gifv not loading
rodzic
2a13571328
commit
de5c33a568
|
@ -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 />
|
||||
|
|
Ładowanie…
Reference in New Issue