Give all your players a class (I think the default is class = "jp-jplayer"), then include the following "play" event handler in your initialization parameters:
$("#jplayer1").jPlayer({
ready: function() {
$(this).jPlayer("setMedia", {
mp3: "mp3/track1.mp3"
});
},
play: function() {
$(".jp-jplayer").not(this).jPlayer("stop");
},
swfPath: "js",
wmode: "window"
});
source
share