Closed (won't fix)
Project:
AudioField
Version:
7.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2012 at 01:42 UTC
Updated:
24 Aug 2012 at 11:04 UTC
The module lists jplayer module as working, but it doesn't. I fixed the issue of it not being visible (?) with this patch:
Index: audiofield.players.inc
===================================================================
--- audiofield.players.inc (revision 36217)
+++ audiofield.players.inc (working copy)
@@ -82,7 +82,7 @@
);
$players['jplayer_module']=array(
- 'path' => '',
+ 'path' => module_exists('jplayer') ? drupal_get_path('module', 'jplayer') . '/jplayer.module' : '',
'name' => 'jPlayer Module',
'download_link' => 'http://drupal.org/project/jplayer',
'filetypes' => array('mp3', 'm4a', 'oga', 'webma', 'wav'),
but when you then view a node with an audio field you'll see:
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'audiofield_jplayer_module' not found or invalid function name in audiofield_get_player() (line 128 of sites/all/modules/audiofield/audiofield.module).
So not sure why jplayer module is listed, if it is not supported/working against the latest jplayer module.
Comments
Comment #1
tamerzg commentedJplayer module was experimental feature and not working at the moment. Instead you can use Jplayer standalone, see instalation instructures at http://drupal.org/node/973194