diff --git a/lib/Controller/VideoController.php b/lib/Controller/VideoController.php index d211f949..12f2f6bd 100644 --- a/lib/Controller/VideoController.php +++ b/lib/Controller/VideoController.php @@ -281,7 +281,7 @@ class VideoController extends GenericApiController $contentType = curl_getinfo($curl, CURLINFO_CONTENT_TYPE); header("Content-Type: {$contentType}"); - if (str_ends_with($profile, 'mov')) { + if (str_ends_with($profile, 'mp4')) { // cache full video 24 hours header('Cache-Control: max-age=86400, public'); } else {