Call: (209) 560-6611

Music player and downloader for wordpress

Date: November 9, 2012 Author: ang Category: Tutorials WordPress Tags: , , Comments: 0

I wanted to find a way to play mp3 songs from my WordPress posts in addition to letting visitors download the songs for free.  jPlayer was an option, but it wasn't compatible with the theme I was using the functionality was limiting. I was finally able to create an mp3 player and allow download options using the Yahoo Music Player.

Embedding Yahoo Music Player code on your website will make all links to mp3 files play music when clicked on. Here's what the Yahoo Music Player looks like:

Follow the instructions below to install Yahoo Music Player on your WordPress website and start playing MP3 songs in your posts.

How to install Yahoo Music Player on your WordPress website

  1. Log into your WordPress website.
  2. Click on the 'Appearance' tab.
  3. Click on the 'Editor' option.
  4. Scroll down and click on the link 'Single Post' on the left side of the page.
  5. You are now editing the single.php script. Scroll down the script code all the way to the bottom and insert this code snippet

     Javascript |  copy code |? 
    1
    2
    <script src=”http://mediaplayer.yahoo.com/js”></script><!-- yahoo music player -->

    just above '' markup.

    Here's an actual picture of the location to insert the code snippet.

  6. Click the 'Update File' button.

How to post mp3 music in WordPress website that uses Yahoo Music Player

Leave a Reply

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

Before you post, please prove you are sentient.

What is 4 times 5?

Before you post, please prove you are sentient.

What is the outer covering of a tree?