fix post video bug

This commit is contained in:
Miroslav Šedivý 2020-01-24 12:18:10 +01:00
parent 446aab42d4
commit bc43190bd4

View file

@ -258,7 +258,7 @@ class Post
}
if($p == 'og:type'){
$content["is_video"] = ($c == "video");
$content["is_video"] = (preg_match("/video/", $c));
}
if($n == 'twitter:image:src' || $p == 'og:image'){