You are here

README.txt in jPlayer 6

Same filename and directory in other branches
  1. 7.2 README.txt
The jPlayer module provides a wrapper around the jPlayer JavaScript library.
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 CCK 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.

jPlayer module was written by Nate Haug.

This Module Made by Robots: http://www.lullabot.com

Dependencies
------------

* CCK (Content module)
* FileField

Install
-------

1) Copy the jplayer folder to the modules folder in your installation. Usually
   this is sites/all/modules.

2) Download jPlayer from http://www.happyworm.com/jquery/jplayer/download.htm.
   The downloaded directory only contains 2 files, jplayer.jquery.js and
   Jplayer.swf. Place these two files in sites/all/libraries/jplayer.

3) In your Drupal site, enable the module under Administer -> Site building ->
   Modules (/admin/build/modules).

4) Add or configure a FileField under Administer -> Content management ->
   Content types -> [type] -> Manage Fields
   (admin/content/node-type/[type]/fields). Restrict the upload extension to
   only allow the mp3 extension. It's also a good idea to enable the Description
   option, as this can be used to label your files when they are displayed in
   the playlist.

5) Configure the display of your FileField to use "jPlayer player". If your want
   to have a multi-file field display as a playlist of songs, you may use the
   "jPlayer multi-file playlist" formatter.

6) Create a piece of content with the configured field. Give the file a
   description that will be used as the file label in the playlist.

Support
-------

Many issues you may have may be caused by jPlayer library itself, rather than
the Drupal module. Check with the jPlayer support pages for issues with Flash
warnings or the player behaving oddly:
http://www.happyworm.com/jquery/jplayer/support.htm
http://www.happyworm.com/jquery/jplayer/latest/developer-guide.htm#jPlayer-compatibility

If the problem is with the jPlayer Drupal module, please file a support request
at http://drupal.org/project/issues/jplayer.

File

README.txt
View source
  1. The jPlayer module provides a wrapper around the jPlayer JavaScript library.
  2. This library provides an HTML5-based player, that uses a Flash fallback for
  3. browsers that do not support it. This module provides a default presentation
  4. for the player, as well as integration with CCK file fields. This makes it
  5. possible to easily convert the display of any file field into an audio player.
  6. This player will only work with MP3 files, so please be sure to restrict the
  7. file upload extensions on your file fields to only allow the mp3 extension.
  8. jPlayer module was written by Nate Haug.
  9. This Module Made by Robots: http://www.lullabot.com
  10. Dependencies
  11. ------------
  12. * CCK (Content module)
  13. * FileField
  14. Install
  15. -------
  16. 1) Copy the jplayer folder to the modules folder in your installation. Usually
  17. this is sites/all/modules.
  18. 2) Download jPlayer from http://www.happyworm.com/jquery/jplayer/download.htm.
  19. The downloaded directory only contains 2 files, jplayer.jquery.js and
  20. Jplayer.swf. Place these two files in sites/all/libraries/jplayer.
  21. 3) In your Drupal site, enable the module under Administer -> Site building ->
  22. Modules (/admin/build/modules).
  23. 4) Add or configure a FileField under Administer -> Content management ->
  24. Content types -> [type] -> Manage Fields
  25. (admin/content/node-type/[type]/fields). Restrict the upload extension to
  26. only allow the mp3 extension. It's also a good idea to enable the Description
  27. option, as this can be used to label your files when they are displayed in
  28. the playlist.
  29. 5) Configure the display of your FileField to use "jPlayer player". If your want
  30. to have a multi-file field display as a playlist of songs, you may use the
  31. "jPlayer multi-file playlist" formatter.
  32. 6) Create a piece of content with the configured field. Give the file a
  33. description that will be used as the file label in the playlist.
  34. Support
  35. -------
  36. Many issues you may have may be caused by jPlayer library itself, rather than
  37. the Drupal module. Check with the jPlayer support pages for issues with Flash
  38. warnings or the player behaving oddly:
  39. http://www.happyworm.com/jquery/jplayer/support.htm
  40. http://www.happyworm.com/jquery/jplayer/latest/developer-guide.htm#jPlayer-compatibility
  41. If the problem is with the jPlayer Drupal module, please file a support request
  42. at http://drupal.org/project/issues/jplayer.