I'm trying to add a player into an podcast archive section. For that, I need to get the post enclosure url to feed it to the player.
What i have now is this:
<?php echo get_post_meta($id,'enclosure',true); ?>
This returns the enclosure URL, but followed by the filesize and the file type, like this:
http://www.someurl.com/enclosure.mp3 40419 audio/mpeg
How can i do to get just the url?