The jPlayer 0.2.4 beta release has been superseded by a new release.
Use the navigation bar above to access the latest release, jPlayer 2.3.0.
jPlayer.setFile(mp3, ogg)commands. Priority given as 1) HTML5/OGG, 2) HTML5/MP3, 3) Flash/MP3
jPlayer.setFile(mp3, [ogg]), where the mp3 file could not be changed from the 1st specified. This bug had affected browsers that supported HTML5 with mp3 format. (Currently only Safari 4)
HTMLMediaElement.bufferedDOM object implemented. (Currently only Safari 4)
jPlayer.jPlayerGetInfo(element)method to enable access to basic diagnostic information.
<audio>element on compliant browsers that can play mp3 format. At release, only the WebKit nightly builds for Mac OS X has implemented HTML5 support for mp3 format.
ready()along with the methods
jPlayer.onProgressChange(fn)to enable the use of
$(this)within the user defined functions.
jPlayer.playHeadTime(t)on an instance that had never been played using
jPlayer.play()would cause all sounds to stop, regardless of the jPlayer instance.
volumeto enable setting of the initial volume value.
jPlayer.setFile(file)to avoid jQuery naming conflict with the
$(this), which enables chaining.
jPlayer.changeAndPlay(file)method, as chaining makes this redundent.
getMovie()in the plugin to always return the
document[fid]. Previously, Internet Explorer would return
window[fid]instead. This removes a browser conditional statement, which was found to be redundent since the plugin adds the Flash object to the document definition in IE.
jPlayer.playHead(p)so that it could be used immediately after
jPlayer.setFile(file)without needing a
jPlayer.play()command prior to it.
jPlayer.playHeadTime(t)to make the play head jump to the time defined in seconds.