tags:

views:

128

answers:

2

I need to stop all other instances of jPlayer before playing a new one when i click play.

Thanks for you help.

+1  A: 

maybe $("#jpId1, #jpId2, #jpId3").stop();

XGreen
+1  A: 

SOLVED

just assigned onclick function to the play trigger and the functions does:


function stopall(){
    $(".jplyrselectr").jPlayer("stop");
}

Mr_Nizzle