>
0 && $audio_urls[0] != '') :
$supplied = '';
$media = '';
for ($i = 0; $i < count($audio_urls); $i++) :
$supplied .= str_replace('.', '', strrchr(trim($audio_urls[$i]), '.')).(($i < count($audio_urls) - 1) ? ',' : '');
$media .= str_replace(array('.'), array(''), strrchr(trim($audio_urls[$i]), '.')).':"'.trim($audio_urls[$i]).'"'.(($i < count($audio_urls) - 1) ? ',' : '');
endfor;
?>