
The jPlayer 1.1.0 release has been superseded by a new release.
Use the navigation bar above to access the latest release, jPlayer 2.3.0.
Audio() object, which replaces the old method of inserting an <audio> tag into the page.HTMLAudioElement.buffered coding so that it conforms with the current HTML5 Draft Spec. This fixes an issue in Opera 10.51, where the buffered property is being set to a TimeRanges object, but it is not actually being updated by the browser.jPlayer("setFile",mp3[,ogg]). Both issues are now fixed.jPlayer("setFile",mp3[,ogg]) command is issued.{volume:percent} and the method jPlayer("volume",percent).jPlayer("setFile",mp3[,ogg]) command now clears the internal controller on HTML5 browsers.playHead, playHeadTime or stop immediately after a setFile when the browser is using HTML5 native audio, are now cleared before delaying a new command. Issuing a play command clears the delayed command.jPlayer("clearFile") command, which enables clearing the current audio file and disabling the playback commands.version, swfVersionRequired and swfVersion. The jPlayer version text has been added to the SWF file, so direct viewing of the SWF shows its version. Check failure will create an alert if {errorAlerts:true}, but no other action is taken.jPlayer(). This breaks backwards compatibility and developers are advised to review the new documentation for the new control mechanism.Sound.onSoundComplete to raise a flag, which is then captured by the progressBroker(). The values affected by the inaccurate Sound.position property are forced to their correct values. (Affects: playedTime, playedPercentRelative and playedPercentAbsolute.)playHead, playHeadTime or stop immediately after a setFile when the browser is using HTML5 native audio, now works and does not throw an exception.ExternalInterface.addCallback() declarations and the jPlayerReady signal. This solved the problem with local testing on Firefox 3.6.{warningAlerts:true}). Affects the constructor ready() function, onSoundComplete() and onProgressChange().jPlayer.play event code in IE, setInterval(function, time, argument), since IE only supports setInterval(function, time). (IE does not supports HTML5 at the moment.)setFile command caused the audio file to be pinged before a play command was given. This has been fixed so that the audio file will not be touched until a play command is given.HTMLMediaElement.buffered.end(), such as Safari 4, stopping or pausing jPlayer while the download was in progress would freeze the load bar. This fix allows the load bar to function correctly, irrespective of whether jPlayer is playing or not.jPlayerId method renamed to cssId to match data structure.bufferMsg method and associated code, since this feature was only supported when the Flash component was used.customCssId constructor option to control whether the default CSS Ids are used. See documentation for more information. (Default: {customCssId:false}nativeSupport constuctor option to force jPlayer to use the Flash component. (Default: {nativeSupport:true})errorAlerts and warningAlerts constructor options to help debug jPlayer projects. (Default: {errorAlerts:false, warningAlerts:false}graphicsFix constructor option to allow the hidden random number text to be disabled. The random number is used to fix graphical update problems with Safari and Chrome browsers.jPlayer("getData", dataName) method. This includes new diagnostic information such as whether jPlayer is playing a track or not. For advanced users, read/write access is provided through $("jpId").data("jPlayer.config"). See documentation for full details.swfPath logic to accommodate a trailing slash on the path. Eg. {swfPath: "myDir"} is the same as {swfPath: "myDir/"}.{errorAlerts:true}) that there is a problem with the swfPath and/or Jplayer.swf file location.onProgressChange happens after all internal configuration data has been updated. When onSoundComplete occurs, onProgressChange is called once afterwards. The HTML5 and Flash solutions mirror this sequence.eval() statements.cssId is given. (Note: cssId was formerly jPlayerId.)canPlayType(MIME) now checks for an empty string and a "no". This corrects a bug that affected new browsers as they adopted changes to the HTML5 Draft Spec. This bug had affected updates to Firefox 3.5 and Safari 4.volume constructor option when using HTML5. The new audio file is now initialised with the current volume. The current volume is now stored/maintained in the jPlayer config.config.aid, being used before being defined.setTimeout(function, time, argument), since IE only supports setTimeout(function, time). (IE does not supports HTML5 at the moment.)jPlayer.setFile(mp3, ogg) commands. Priority given as 1) HTML5/OGG, 2) HTML5/MP3, 3) Flash/MP3jPlayer.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.buffered DOM 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.onSoundComplete(fn) and jPlayer.onProgressChange(fn) to enable the use of $(this) within the user defined functions.jPlayer.setFile(f) twice, jPlayer.stop(), jPlayer.playHead(p) or 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.volume to enable setting of the initial volume value.jPlayer.change(file) to jPlayer.setFile(file) to avoid jQuery naming conflict with the jQuery.change(fn) event.$(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.