You are here

function video_cck_zzz_custom_url_extract in Embedded Media Field 5

File

contrib/video_cck/providers/zzz_custom_url.inc, line 48

Code

function video_cck_zzz_custom_url_extract($embed = '') {
  $types = _video_cck_zzz_custom_url_implode_types();
  if (preg_match('@\\.(' . $types . ')$@i', $embed, $matches)) {
    return $embed;
  }
  return false;
}