Title: [plugin: FeedWordPress] Mp3 player
Last modified: August 19, 2016

---

# [plugin: FeedWordPress] Mp3 player

 *  [angus20184](https://wordpress.org/support/users/angus20184/)
 * (@angus20184)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-feedwordpress/)
 * I just install FeedWordPress. everything work okay. However, I would like to 
   have a mp3 player for the attachment in “enclosure” custom file. I would be able
   to pull the custom field in template. However, the field show up as.
 * [http://podcast.rthk.org.hk/podcast/media/moonreadings/47_0707161558_34628.mp3](http://podcast.rthk.org.hk/podcast/media/moonreadings/47_0707161558_34628.mp3)
   
   3621616 audio/mp3
 * In order for the mp3 player plugin to work It should only show the link of the
   mp3 but not the 2nd and 3rd line.
 * Please help with out with that. THX!!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [sdhunt](https://wordpress.org/support/users/sdhunt/)
 * (@sdhunt)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-feedwordpress/#post-1303486)
 * I don’t know if this is what you need but you can access and print just the mp3
   url from the enclosure custom field like this:
 *     ```
       <?php
       $enclosureData = get_post_meta($post->ID, 'enclosure', true);
       $duration = false;
       if ($enclosureData) {
       list($EnclosureURL, $EnclosureSize, $EnclosureType, $Serialized) = split("\n", $enclosureData);
       $EnclosureURL = trim($EnclosureURL);
       echo $EnclosureURL;
       } ?>
       ```
   
 *  [mervdiesel](https://wordpress.org/support/users/mervdiesel/)
 * (@mervdiesel)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-feedwordpress/#post-1303520)
 * Hey sdhunt or anyone else who might know the answer to this. I think I’m wanting
   to do something similar here, and I can’t get it to work. I’m aggregating various
   podcasts on my blog [here](http://centralafricanstudies.com/category/podcasts/)
 * here are a couple of the rss feeds that contain podcasts of interest:
 * (this one wont show correctly in posts…that is, it does not link to the source
   mp3 directly) [http://afripod.aodl.org/?feed=podcast](http://afripod.aodl.org/?feed=podcast)
 * (this one correctly points to source mp3, and displays correctly, here’s an example
   [on my site](http://centralafricanstudies.com/2010/06/africa-wednesday-16-june-10/))
   http://downloads.bbc.co.uk/podcasts/worldservice/africa/rss.xml
 * I’m using “[Add Attribution for FeedWordPress](http://projects.radgeek.com/add-attribution-feedwordpress/)”
   which has been perfect for adding proper attribution so far. Using the [original-
   url] short-tag I have been able to successfully link directly to the source mp3
   using Add Attribution plugin on the bbc podcast. However, on the afripod podcast,
   the mp3 link will not display at all.
 * So what have I tried? I tried your suggestion sdhunt, and it did not work for
   me. I tried the code in many locations to no avail. Also I tried setting a custom
   field of $(item/enclosure/@url) but this also did not work. This problem is driving
   me absolutely nuts because I know it’s something so simple and I just can’t see
   what I’m doing wrong!
 * **Essentially I want the aggregator to print a link of the source mp3 url.**

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[plugin: FeedWordPress] Mp3 player’ is closed to new replies.

## Tags

 * [custom field](https://wordpress.org/support/topic-tag/custom-field/)
 * [enclosure](https://wordpress.org/support/topic-tag/enclosure/)

 * 2 replies
 * 3 participants
 * Last reply from: [mervdiesel](https://wordpress.org/support/users/mervdiesel/)
 * Last activity: [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-feedwordpress/#post-1303520)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
