Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jplayer

happyworm13.1kMIT2.9.2

The jQuery HTML5 Audio / Video Library. Allows you to create a media player with a consistent interface and experience across all browsers.

jquery-plugin, audio, video, media, player, jplayer

readme

jPlayer : HTML5 Audio & Video for jQuery

Support for Zepto 1.0+ compiled with the data module.

What is jPlayer?

jPlayer is a jQuery/Zepto plugin that allows you to:

  • play and control media files in your webpage.
  • create a consistent interface and experience across all browsers.
  • create and style a media player using just HTML and CSS.
  • add audio and video to your jQuery/Zepto projects.
  • support more devices using HTML5.
  • support older browsers using a Flash fall-back/forward.
  • control media on your website using a JavaScript API.

jPlayer supports:

  • HTML5: mp3, m4a (AAC), m4v (H.264), ogv, oga, wav, webm
  • Flash: mp3, m4a (AAC), m4v (H.264), rtmp, flv.

(*) Optional counterpart formats to increase HTML5 cross-browser support.

Bower Install

  • simple install using bower install jplayer
  • see http://bower.io/ for more information.

Composer install

Install jPlayer via composer by adding the following lines to your composer.json in your project:

// ...
"require": {
    // ...
    "happyworm/jPlayer": "2.*"
    // ...
}
// ...
"config": {
    "component-dir": "your/desired/asset/path"
},
// ...

Then execute the following:

php composer.phar update

Composer will now download all components and install the needed files into your/desired/asset/path, ready to use.

License

jPlayer is licensed under the MIT license.

More information:

Author:

Mark J Panaghiston @thepag happyworm.com

changelog

Change Log

All notable changes to this project will be documented in this file.

2.9.2 - 2014-12-14

Added

Changed

  • jPlayer Repository Refactor: The skins source files are now in src/skin and the build skins files in the dist/skin folder.
  • jPlayer Repository Refactor: All the circle player specific files are now in the lib/circle-player folder.
  • jPlayer Repository Refactor: Changed the html examples file extentions from htm to html for @Laurian.

2.9.1 - 2014-12-09

Added

2.9.0 - 2014-11-27

Added

2.8.4 - 2014-11-24

Added

2.8.3 - 2014-11-20

Added

2.8.2 - 2014-11-19

Added

  • Package Fix: The un-minified source is now also added to the dist folder.
  • New Feature: Merged Pull Request to add commonJS support by nervo.
  • Docs: Added CHANGELOG.md and gave details back to 2.7.1
  • Docs: Added MIGRATION.md as placeholder for migration details.
  • Bug Fix: Fixed Internet Explorer key bindings. Removed document.activeElement useage from the key bindings code.
  • New Feature: The key bindings option key value may now be a number for event.which and a string for event.key comparison.
  • Default Options: Added to the default key bindings:
    • l loop toggle
    • s shuffle toggle (playlist)

Changed

  • Package Fix: Renamed the built folder to dist, which is more appropriate than the previous naming of js.
  • Default Options: The default key bindings have been changed to:
    • p play/pause toggle
    • f full/restore screen toggle
    • m mute/unmute toggle
    • , decrease volume
    • . increase volume
    • [ previous item (playlist)
    • ] next item (playlist)

Removed

  • Package Fix: The old js build folder.

2.8.1 - 2014-11-13

Added

  • Skin Fix: Added the CSS3 rule to disable the default Firefox focus highlighting. Fixed both the Blue Monday and Pink Flag skins.
  • Bug Fix: Fixed the media title being displayed in iOS Control Center when there is no GUI title element.

2.8.0 - 2014-11-11

Added

  • ARIA Feature: The autoBlur option will now either blur() or focus(). This helps maintain cross-browser behaviour when a user clicks on a GUI button.
  • New Feature: Added the noVolume state class for when the volume controls are being hidden due to the noVolume option. This helps GUI design by enabling a CSS rule to hide the volume controls.
  • jPlayer Repository Refactor: Added all download content to the repository and added a grunt build system. The example demos work within the repository, and use the built (minified) jPlayer files.

Changed

  • Refactor: Renamed the SWF file from Jplayer.swf to jquery.jplayer.swf
  • Refactor: The Flash jquery.jplayer.swf file is now compiled using the Flex compiler in the grunt-mxmlc node.js module.
  • Skins: The skins are now designed for ARIA. Please use the options {useStateClassSkin: true, autoBlur: false}

Removed

  • Refactor: Refactored the Flash ActionScript, removing the TraceOut class from the Jplayer.as code and the happyworm package.

2.7.1 - 2014-09-19

Added

  • Bug Fix: Fixed the legacy Android fix to work with latest Android. This moved the android fix code to the loadeddata event from the progress event.

2.7.0 - 2014-09-01

For older changes, view these release notes.