happyworm / jplayer
jPlayer allows you to create a media player with a consistent interface and experience across all browsers.
Installs: 112 861
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4 602
Watchers: 293
Forks: 1 471
Language:JavaScript
Type:component
Requires
Suggests
- components/jquery: >=1.7.2
This package is not auto-updated.
Last update: 2024-10-12 16:10:23 UTC
README
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