aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-20 19:33:50 +0000
committerMario <mario@mariovavti.com>2024-03-20 19:33:50 +0000
commitedf898d7b701d9664f463adb97db9ca0f6293e1a (patch)
tree6749248b82b0b1d202f2dfc65c9c4b02328a2e16 /Zotlabs/Lib/Activity.php
parentee0060619de03db1930da3472c48faac1ef9f95e (diff)
downloadvolse-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/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
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;
}