How to disable jQuery.jplayer autoplay?

when i initialize the player like this:

$("#jquery_jplayer").jPlayer({ ready: function () { this.element.jPlayer("setFile", "/previews/cancion.mp3", "/previews/horse.ogg").jPlayer("play"); }, volume: 50, oggSupport: true })

is there any way to disable the autoplay?


Remove .jPlayer("play")


how about reading the manual:


to disable looping (repeat) i would try:

$("#jpId").jPlayer("onSoundComplete", function() { // Directly access this instance's jPlayer methods. (Does not support chaining.) this.stop(); });



That's it. It worked for my project. Put that at the end of the function that plays the song. Not the function that loads the jplayer, but the track selecting function.

Cheers to those looking at this 6-7 years later. :) The others did help me come to this simple conclusive solution.


  • HTML5 Audio m4a
  • do html5 audio tags eat up resources
  • Read quicktime movie from servlet in a webpage?
  • Can I access all live broadcasts with YouTube's LiveStreaming API?
  • Unmute facebook live video
  • container disable service account
  • Flowplayer playing over everything
  • How to bring mp3 file information on jplayer
  • SqlDependency vs SQLCLR call to WebService
  • How to create a jQuery price slider
  • Why are views not counted if you embed a youtube iframe dynamically using jquery?
  • Disabling sound of embedded flash object with html
  • apply a javascript function to draggable copy
  • passing a default argument to a browserify module
  • Uncaught TypeError: $(…).select2 is not a function
  • Jquery popup on mouse over of calendar control
  • std::remove_copy_if_ valgrind bytes in block are possibly lost in loss record
  • Ajax calls do not work in IE unless you fiddle with security settings
  • Detect when Facebook like button is clicked
  • Installed module is empty
  • With Hadoop, can I create a tasktracker on a machine that isn't running a datanode?
  • jQuery .attr() and value
  • How to clear text inside text field when radio button is select
  • Get data from AJAX - How to
  • Reading JSON from a file using C++ REST SDK (Casablanca)
  • Email format validation in mvc3 view
  • Regex thinks I'm nesting, but I'm not
  • What is the “return” in scheme?
  • jQuery show() function is not executed in Safari if submit handler returns true
  • How do i call multiple functions using if statements that have multiple parameters in C++
  • javascript inside java/jsp code
  • WinForms: two way TextBox problem
  • jQuery tmpl and DataLink beta
  • How to disable jQuery.jplayer autoplay?
  • CSS Applying specific rule for a specific monitor resolution with only CSS is posible?
  • What are the advantages and disadvantages of reading an entire file into a single String as opposed
  • Setting background image for body element in xhtml (for different monitors and resolutions)
  • Busy indicator not showing up in wpf window [duplicate]
  • Why is Django giving me: 'first_name' is an invalid keyword argument for this function?
  • How can I use `wmic` in a Windows PE script?