How do I disable jQuery.jplayer autoplay?
3 answers
how about reading the manual:
http://www.happyworm.com/jquery/jplayer/latest/developer-guide.htm
to turn off the loop (repeat) I would try:
$("#jpId").jPlayer("onSoundComplete", function() {
// Directly access this instance jPlayer methods. (Does not support chaining.)
this.stop();
});
+1
a source to share
.jPlayer("pause");
What is it. This worked for my project. Place this at the end of the function that plays the song. Not a function that loads jplayer, but a track selection function.
Cheers to those looking at this in 6-7 years. :) Others have helped me arrive at this simple, compelling solution.
+1
a source to share