This library provides an HTML5-based player, that uses a Flash fallback for browsers that do not support it. This module provides a default presentation for the player, as well as integration with file fields. This makes it possible to easily convert the display of any file field into an audio player.
This player will only work with MP3 files, so please be sure to restrict the file upload extensions on your file fields to only allow the mp3 extension.
Installation instructions for Drupal 7
- Install jPlayer as usual
- Download the jPlayer library and extract the zip or tar.gz file and then copy the dist/jplayer folder to sites/all/libraries/jplayer/. Make sure that jquery.jplayer.min.js can be found at sites/all/libraries/jplayer/jquery.jplayer.min.js
- Go to the configuration page of Jplayer in the "Media" section of the administration interface (admin/config/media/jplayer). Specify the path that contains the jPlayer library. Default path for the jPlayer library directory is "sites/all/libraries/jplayer".
jPlayer should now be available as a format for your media fields.
To use jPlayer as a field format: