continue;
     }
     $data['thumbnail'] = $resp;
     if (empty($data['thumbnail'])) {
         $skipped++;
         echo "{$msg}...SKIPPED (No thumbnail found).\n";
         continue;
     }
     echo "{$msg}\n";
     echo "\tMetadata for {$video['embed_code']}: \n";
     foreach (explode("\n", var_export($video['metadata'], TRUE)) as $line) {
         echo "\t\t:: {$line}\n";
     }
     // set thumbnail to Ooyala
     if (!$dryRun) {
         $resp = $ooyala->setThumbnail($video['embed_code'], $data);
         if (!$resp) {
             $failed++;
             print "{$msg}...FAILED (Error: Cannot setting thumbnail for {$videoTitle}. Embed code:{$video['embed_code']}).\n";
             continue;
         }
     }
     // update thumbnail on the wiki
     if (!updateThumbnailWiki($wikiVideoTitle, $data['$thumbnail'], $delayIndex)) {
         continue;
     }
     // remove thumbnail field from ooyala
     if (!removeThumbnailFromMetadata($video)) {
         continue;
     }
 }