Searched refs:video_id (Results 1 – 3 of 3) sorted by relevance
60 … foreach($video_ids as $video_id) { //check each cache file to see if it needs to be updated61 if(!$cacheHelper->checkCacheFreshness($video_id, $expire_time)) {65 touch($cacheHelper->getCacheFile($video_id));118 foreach($video_ids as $video_id) {119 …if(!$cacheHelper->checkCacheFreshness($video_id, $expire_time)) { //update cache if not fresh (exp…120 … $latest_thumbnail = $cacheHelper->getYouTubeThumbnail($video_id); //get latest thumbnail121 …if($latest_thumbnail === $cacheHelper->getExistingCache($video_id)) { //check if the current cache…122 $cacheHelper->updateETag($video_id); //update the last time we checked124 …$new_cache = $cacheHelper->cacheYouTubeThumbnail($video_id, $latest_thumbnail…128 …$page_cache->depends['files'][] = $cacheHelper->getCacheFile($video_id); // adds the file path to …
539 …return 'https://www.youtube.com/embed/' . $parameters['video_id'] . '?' . 'autoplay=' . $autoplay …
54 public function getYouTubeThumbnail($video_id): array { argument