diff --git a/objects/video.php b/objects/video.php index 10e653e1c988..2e93990de099 100644 --- a/objects/video.php +++ b/objects/video.php @@ -5133,7 +5133,7 @@ public static function getImageFromFilename_($filename, $type = "video") if (empty($obj->thumbsJpgSmall)) { $obj->thumbsJpgSmall = $obj->poster; } - if (!empty($advancedCustom->disableAnimatedGif) || (isMobile() && isFirstPage())) { + if (!empty($advancedCustom->disableAnimatedGif)) { $obj->thumbsGif = false; } diff --git a/plugin/Cache/Cache.php b/plugin/Cache/Cache.php index 7b19d4532fbe..fa4c383fbd15 100644 --- a/plugin/Cache/Cache.php +++ b/plugin/Cache/Cache.php @@ -51,11 +51,13 @@ public function getCacheDir($ignoreFirstPage = true) { $obj = $this->getDataObject(); if (!$ignoreFirstPage && $this->isFirstPage()) { $obj->cacheDir .= "firstPage" . DIRECTORY_SEPARATOR; + /* if(isMobile()){ $obj->cacheDir .= "mobile" . DIRECTORY_SEPARATOR; }else{ $obj->cacheDir .= "desktop" . DIRECTORY_SEPARATOR; } + */ if (User::isLogged()) { $obj->cacheDir .= 'users_id_' . md5(User::getId() . $global['salt']) . DIRECTORY_SEPARATOR; }