Home
last modified time | relevance | path

Searched refs:video_id (Results 1 – 3 of 3) sorted by relevance

/plugin/externalembed/
H A Daction.php60 … foreach($video_ids as $video_id) { //check each cache file to see if it needs to be updated
61 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 thumbnail
121 …if($latest_thumbnail === $cacheHelper->getExistingCache($video_id)) { //check if the current cache…
122 $cacheHelper->updateETag($video_id); //update the last time we checked
124 …$new_cache = $cacheHelper->cacheYouTubeThumbnail($video_id, $latest_thumbnail…
128 …$page_cache->depends['files'][] = $cacheHelper->getCacheFile($video_id); // adds the file path to …
H A Dsyntax.php539 …return 'https://www.youtube.com/embed/' . $parameters['video_id'] . '?' . 'autoplay=' . $autoplay …
/plugin/externalembed/helper/
H A DcacheInterface.php54 public function getYouTubeThumbnail($video_id): array { argument