You are here

function emaudio_zzz_custom_url_extract in Embedded Media Field 5

File

contrib/emaudio/providers/zzz_custom_url.inc, line 45

Code

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