diff options
author | Mario <mario@mariovavti.com> | 2024-03-20 19:33:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-20 19:33:50 +0000 |
commit | edf898d7b701d9664f463adb97db9ca0f6293e1a (patch) | |
tree | 6749248b82b0b1d202f2dfc65c9c4b02328a2e16 /Zotlabs/Lib | |
parent | ee0060619de03db1930da3472c48faac1ef9f95e (diff) | |
download | volse-hubzilla-edf898d7b701d9664f463adb97db9ca0f6293e1a.tar.gz volse-hubzilla-edf898d7b701d9664f463adb97db9ca0f6293e1a.tar.bz2 volse-hubzilla-edf898d7b701d9664f463adb97db9ca0f6293e1a.zip |
it appears the smallest size for pt videos is now 720
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 603155e7c..75d2ffbe9 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -2391,7 +2391,7 @@ class Activity { if ($mps) { usort($mps,[ '\Zotlabs\Lib\Activity', 'vid_sort' ]); foreach ($mps as $m) { - if (intval($m['height']) < 500 && self::media_not_in_body($m['href'],$s['body'])) { + if (intval($m['height']) <= 720 && self::media_not_in_body($m['href'],$s['body'])) { $s['body'] = $tag . $m['href'] . '[/video]' . "\r\n" . $s['body']; break; } |