How To Embed Audio & mp3 in WordPress

Embedding audio files into your posts can be a great way to add additional content and value to your site.  If you’ve ever seen this done on another site and wondered how to do it then you’re in luck because it’s super simple and only takes a few minutes to set up.

Click Here for WordPress Made Easy

The first thing you’ll need in order to embed a .mp3 files is a WordPress plugin called oEmbed HTML5 Audio Player. You can search for it by typing “oEmbed HTML5 audio” into the add new plugins page in your WordPress admin area. There are a few other plugins that will embed audio files but I like this one because it’s simple to use and does exactly what it’s supposed to do.

Here’s an example of how it works and what it will look like in your posts:

Once you’ve installed the plugin, all you need to do in order to embed an mp3 file into your post is click on the upload media icons and select the audio/mp3 file you’d like to embed.

embed-mp3-wordpressThen just get the entire url of the file you want to embed into your post and paste it in like this:

post-url-to-mp3

The Plugin will then generate the proper code to embed the file and player directly into your post.

Another great tool to use when putting audio on your site is Audacity. This is a free and open source audio player and editor that you can use to edit, compress, cut or record audio to use in your blog posts. I use it all the time to create small sound bites from larger files.

With these tools you should easily be able to create, edit and embed audio into your posts.  Please leave a comment and let me know if you’re using this on your site or if you’ve got any other tips or plugins to share. :)

About Josh F.

Josh is an online marketer and co-founder of ProfitBlog.com. With a passion for affiliate marketing, blogging, SEO, copy writing and product creation he was able to trade the "cubical lifestyle" for the "internet lifestyle" in early 2008 and hasn't looked back since. When not online Josh likes to travel and have adventures.

Get The Latest Posts

Sign up for the ProfitBlog.com newsletter to get the latest blog updates direct to your inbox.

Follow Profit Blog

Get social and follow us on one of the social networks below.

13 thoughts on “How To Embed Audio & mp3 in WordPress

  1. Pingback: How To Embed Audio & mp3 in WordPress « profitblogcom

  2. Pingback: Best Wordpress Plugins for 2011 — ProfitBlog.com

  3. dyll

    I never realised you can embed mp3 files into wordpress or other blog software. Obviously I see youtube embedded vids on a daily basis. Thanks for highlighting the options on offer.

    Reply
  4. Rachelle

    Thanks for this, it took some time to choose the right player, this one is definitely the easiest,but I can’t figure out how to get the caption to show.

    Reply
  5. Luigi Russolo

    I would like to be able to take this a step further and allow people to embed audio into their comments. A blog or website that is allowed to dish out audio and video content should be able to have their users do the same in return.

    Thank you most kindly for any advice.

    PS I’ve learned about a plug-in for allowing video to be embedded in comments (does need optimize press and some additional entry like a V after the http link)

    Reply
  6. Pierre Holstein

    I’m trying to get this to work with WordPress 3.4.2
    Has anyone had any success with this?

    Reply
    • Josh Post author

      I’ll mess with it here soon and see what I can figure out. Or if I can find a good alternative. I haven’t been doing much .mp3 embedding lately so I hadn’t used it but I’m planning on doing some soon so I’ll need something that works.

      I’ll let you know.

      Thanks!

      Reply
    • Josh Post author

      Just updated the post with a really good plugin I found that makes it super easy to embed mp3 now. Way better than the last one even. :)

      Reply
      • simon

        Thanks so much for showing how to get an audio player working in WP 3.5. I’ve been pulling my hair out trying to find a plug in that works but this sorted it for me.

        Just one question: how do I get the player to centre on the post? Do I need to add some code to each end of the file location or something? Thanks for your help

        SImon in the UK

        Reply
        • Josh Post author

          I tried to center it earlier today and it didn’t work. Seems like with this plugin you can’t put anything else on the same line as the URL for the audio.

          I’m sure there’s a way around this but it would probably take some custom coding or something.

          Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>