Skip to content
A jQuery Music Player Plugin.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A jQuery Music Player Plugin.

How to use

Import Scripts and Stylesheets

<script type="text/javascript" src=""></script>
<script type="text/javascript" src="js/jquery.mPlayer.js"></script>
<link type="text/css" rel="stylesheet" href="css/jquery.mPlayer.css" />

HTML Script

<div id="music"></div>

Initialize Script

$(document).ready(function() {
        'music/Michio - Ninon (Rumba).mp3': 'Ninon - Michino',
        'music/Michio - Ninon (Rumba).ogg': '',
        'music/The Secession - Arrange.mp3': 'Arrange - The Secession',
        'music/The Secession - Arrange.ogg': '',
        'music/The Secession - Decide.mp3': 'Decide - The Secession',
        'music/The Secession - Decide.ogg': ''

Metods Available

Methods available:

  • play : Plays the current song.
  • pause : Pause the current song.
  • togglePlay : Toggles the current song between play and pause.
  • next : Loads and play the next song in the list.
  • prev : Loads and play the previous song in the list.


Released under the MIT License.

You can’t perform that action at this time.