Active
Project:
jPlayer
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2016 at 15:18 UTC
Updated:
4 Oct 2016 at 15:18 UTC
Jump to comment: Most recent
libraries_get_path('jplayer') returns empty string, therefore _jplayer_get_js() will always look in wrong folder for JS files (it will only work if jplayer JS is in root folder!).
Reason for that is I think in hook_library() where you made circular dependency by calling:
$file = _jplayer_get_js();
which then calls libraries_get_path('jplayer') !!
hook_library should have clearly defined path instead of calling on itself to get path.
Comments