diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index 9ffd148d..b72cec21 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -593,15 +593,26 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { var sense = "" var blur=null } - if(media.type=="unknown"){ - viewer = viewer +'['+lang.lang_parse_unknown+'] ' + if(media.pleroma){ + if(media.pleroma.mime_type.indexOf("video") !== -1){ + viewer = viewer + ''; + } }else{ - viewer = viewer + ''+nsfwmes+''; - } + if(media.type=="unknown"){ + viewer = viewer +'['+lang.lang_parse_unknown+'] ' + }else{ + viewer = viewer + ''+nsfwmes+''; + } + } + }); media_ids = media_ids.slice(0, -1) ; } else {