jPlayer

HTML5 Audio & Video for jQuery

a project by happyworm

The jPlayer 0.2.5 beta release has been superseded by a new release.
Use the navigation bar above to access the latest release, jPlayer 2.3.0.

jPlayer 0.2.5 beta Release notes

  • Released: 25th August 2009
  • Fixed major bug: The HTML 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.
  • Fixed bug with the 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.
  • Removed all text from the hidden flash class. This was confusing screen readers as they were 'displaying' / 'reading out loud' the hidden flash text. This text was purely for development and testing and has been commented out in the AS2 code.
  • Fixed bug with the audio tag id, config.aid, being used before being defined.
  • Fixed minor bug with the HTML5 initiation call in IE, setTimeout(function, time, argument), since IE only supports setTimeout(function, time). (IE does not supports HTML5 at the moment.)

jPlayer 0.2.4 beta Release notes

  • Released: 1st July 2009
  • Added support for OGG files, where the browser is found to support HTML5 with OGG format. (Currently only Firefox 3.5) The constructor option {oggSupport: true} enables this feature, where an ogg file must then be given as a second attribute to all jPlayer.setFile(mp3, ogg) commands. Priority given as 1) HTML5/OGG, 2) HTML5/MP3, 3) Flash/MP3
  • Fixed bug in Safari 4 with 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)
  • Made the loadbar work with browsers that support HTML5 and have the HTMLMediaElement.buffered DOM object implemented. (Currently only Safari 4)
  • Added jPlayer.jPlayerGetInfo(element) method to enable access to basic diagnostic information.

jPlayer 0.2.3 beta Release notes

  • Released: 22nd June 2009
  • Added HTML5 support for the <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.
  • Revised coding of constructor option function ready() along with the methods jPlayer.onSoundComplete(fn) and jPlayer.onProgressChange(fn) to enable the use of $(this) within the user defined functions.
  • Fixed bug with multiple instances, where using: 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.
  • Added the constructor option volume to enable setting of the initial volume value.
  • Reviewed the naming of jPlayer's internal methods to improve compatibility with other plugins.

jPlayer 0.2.2 beta Release notes

  • Released: 20th May 2009
  • Renamed jPlayer.change(file) to jPlayer.setFile(file) to avoid jQuery naming conflict with the jQuery.change(fn) event.
  • Appropriate jPlayer methods now return a pointer to $(this), which enables chaining.
  • Removed the jPlayer.changeAndPlay(file) method, as chaining makes this redundent.
  • Added a check for Flash 8 and if not installed, gives a warning and a link to the Flash plugin. Adapted the function checkForFlash from FlashReplace by Robert Nyman.
  • Changed the 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.
  • Debugged jPlayer.playHead(p) so that it could be used immediately after jPlayer.setFile(file) without needing a jPlayer.play() command prior to it.
  • Added a new method called jPlayer.playHeadTime(t) to make the play head jump to the time defined in seconds.

jPlayer 0.2.1 beta Release notes

  • Released: 4th May 2009
  • Initial beta release version of the jPlayer plugin
  • Released under the MIT licence