From 238a616292ad5c6e7be97a4dd763a302729abf80 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 16 Nov 2018 23:33:45 +0100 Subject: Add filesize for streaming content --- Zotlabs/Module/Photo.php | 1 + 1 file changed, 1 insertion(+) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 91175c7df..be9d55eb2 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -167,6 +167,7 @@ class Photo extends \Zotlabs\Web\Controller { $modified = strtotime($e[0]['edited'] . 'Z'); if(intval($e[0]['os_storage'])) { $streaming = $data; + $filesize = filesize($data); } else $filesize = $e[0]['filesize']; -- cgit v1.2.3